David,
In general, you want to put cgi-bin scripts in the directory that your
web server recognizes as it's cgi-bin directory. In general, this means
that you must ask you sys admin what directory this is. If you run your
own system, read the documentation/man pages for you web server, and
find out how to set this up.
Aside from this, I'm told their is a way to set up certain files in your
normal html directory to be executed, rather than read as text files.
Unfortunately, I don't know how it is done. If you happen to find out, I
would be interested in this information.
Hope this helps,
Robert Seeger
> I am familiar with unix shell scripts and would like to get started with
> CGI by using some very simple scripts that just cat information to the
> screen or into a file on the server. I can make the shell script on the
> server, I can make an HTML file that refers to it using the <img src="">
> syntax, but I am not sure what, if anything, happens next. The HTML
> seems to not recognise my script as an executable, (even though it has
> execute permission), but uses it as a text file.
> Can anyone enlighten me further?
> Thanks
> Dave