John Ericson wrote:
>
> Hi,
>
> Im trying to run a small CGI script wish is written in perl. It work when I
> write this in netscape: "http://localhost/cgi-bin/test.pl", but if I rename
> it to test.cgi and write: "http://localhost/cgi-bin/test.cgi" in netscape,
> I get an "500 Internal Server Error" message, and my httpd.error_log says:
> If anyone has any ideas on how to solve this, please mail me.
I'm not sure the exact lines to use, but you must
specify the .cgi type to be allowed in your
http.conf. I think it is called an "AddHandler"
I have a line " AddHandler cgi-script .cgi"
But I don't know if you can run a perl script
as a .cgi file, it might conflict with
the Addhandler for perl scripts.
Try running a bash shell script with a .cgi ending.
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html