Clear questions and runnable code
get the best and fastest answer
Premature end of script headers errorby huklberry (Novice)
|on Jul 01, 2006 at 23:25 UTC||Need Help??|
huklberry has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to setup the apache web server on a linux fedora platform. Everything seems to be working with the exception of executing a perl script when invoked from a webpage. Every time I try to execute my perl script from my webpage I get an "500 Internal Server Error" and the following error logs:
I've triple checked the permissions of the cgi-bin directory and the perl script and they look fine...
I've verified the location of my cgi-bin directory is correct. When I remove test.pl I get a "404 Not Found" error instead of the server error. I also verified the script runs fine from the command line. My script is very basic and intended only to verify I can execute perl scripts. Code is below...
Any thoughts on what I could be doing wrong would be greatly appreciated.