I get the dreaded Internal Server Error each time I try to run my perl/cgi scripts. The apache error log shows the following error:
[Wed Apr 18 13:52:37 2001] [error] (8)Exec format error: exec of /var/ failed
[Wed Apr 18 13:52:37 2001] [error] [client 127.0.0.1] malformed header from script. Bad header=Launching... /usr/lib/apache-s: /var/
I'm not sure why I'm getting the "malformed header from script" error, because I have included: print "Content-type: text/html\n\n"; in my script.
Can anyone help with this?
Peter
ps...I'm using apache-ssl but for now ssl has been disabled...does this make any difference?
[Wed Apr 18 13:52:37 2001] [error] (8)Exec format error: exec of /var/ failed
[Wed Apr 18 13:52:37 2001] [error] [client 127.0.0.1] malformed header from script. Bad header=Launching... /usr/lib/apache-s: /var/
I'm not sure why I'm getting the "malformed header from script" error, because I have included: print "Content-type: text/html\n\n"; in my script.
Can anyone help with this?
Peter
ps...I'm using apache-ssl but for now ssl has been disabled...does this make any difference?