I kept getting 500 Internal Server Errors when trying to set up one of my Perl scripts, so I decided to test a simple "Hello World!" script. It produced the same error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
I've uploaded the file in ASCII, I've set the permissions to 755, I've connected to the server with ssh and verified the path to Perl. None of that fixed the problem. The strangest part is when I try to run the script while I've connected with ssh is that it works:
$ ./test.cgi
Content-type:text/html
Hello world! This CGI / PERL script is working properly!
$
Does anyone have any ideas why I can't get even the "Hello World!" script to run on my web site? Thanks for your help.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
I've uploaded the file in ASCII, I've set the permissions to 755, I've connected to the server with ssh and verified the path to Perl. None of that fixed the problem. The strangest part is when I try to run the script while I've connected with ssh is that it works:
$ ./test.cgi
Content-type:text/html
Hello world! This CGI / PERL script is working properly!
$
Does anyone have any ideas why I can't get even the "Hello World!" script to run on my web site? Thanks for your help.