perl cgi-scripts won't work at the apache server with the standard redhat 6.0 configuration files. The configuration files have been changed according to the manuals. I get an "internal server error" (which is 500) when I access a .cgi file in my cgi-bin from a web browser. in the error_log two entries show up: [Fri Aug 13 23:49:27 1999] [error] (2)No such file or directory: exec of /home/httpd/cgi-bin/hello.cgi failed [Fri Aug 13 23:49:27 1999] [error] [client 192.168.1.1] Premature end of script header Of course the file does exists and access to the apache user is given. The location of perl in the first line of the script is correct, too ....
we can't duplicate this problem here. What is the first line of your cgi script? Does your script have the execute bit set?
no additional feedback, and it works here. Assume user configuration error, or the cgi script was not executable, or the path to perl in the script was specified incorrectly.