Having a cgi time

They have: 296 posts

Joined: Sep 1999

Ok I have almost figured out cgi and managed to get a few scripts working. I am curently being hosted by freeola.com and they have not got a scoob about cgi so they refuse to give me any support on it. I have been told my cgi directory should be called cgi-shl but I must refer to it as cgi-bin in the html documents. I have used a few scripts downloaded from bignose bird.com and put the cgi file in the cgi-shl directory using ascii and chmodding them to 755. I have then put the html file pointing to them in my htdocs folder (which is in the same folder as my cgi-shl) I tried using perdiver to find my absolute path and it gave me something totally differant from what freeola told me. Thing is I keep getting this error when trying to run the scripts. It finds the htm file in my htdocs folder then when it refers to the cgi-shl folder I get an error page that says" internal server error" What does this mean?

my html can be located at http://www.noggy.net/testsite/source/links.htm

and the cgi can be loacted at: http://www.noggy.net/cgi-bin/links.cgi

any help would be appreciated

~Vy~

------------------
***********************
To spam or not to spam!
That is the question.
***********************

They have: 296 posts

Joined: Sep 1999

Oh before I forget: The html file has been changed to <form method=GET action="http://www.noggy.net/testsite/source/links/links.cgi">

However the original configuration was: <form method=GET action="http://www.noggy.net/cgi-bin/links.cgi">

I just changed it to see if I could get cgi working outside the cgi-shl directory but I can't. Freeola said it has to be in the cgi-shl to work.

~Vy~

------------------
***********************
To spam or not to spam!
That is the question.
***********************

They have: 568 posts

Joined: Nov 1999

it means something is wrong

try to execute the script in the shell and see what errors you get.

They have: 296 posts

Joined: Sep 1999

What do you mean executing it in the shell?
Do you mean I type in http://www.noggy.net/cgi-bin/links.cgi and see what happens? I tried that and it just says internal server error.

~Vy~

They have: 20 posts

Joined: May 2000

Executing in shell means that you first log into your account using telnet. Then execute the script in the command line.
Its something like this:
perl /path/to/script -w

They have: 296 posts

Joined: Sep 1999

Sorry now I am totally lost!
how does one go about logging into an account with telnet? what is the point of executing my shell? Man you got me confused here. I am a total newbie with cgi so take it easy on me please!

~Vy~

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.