Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal Server Error

Status
Not open for further replies.

pkapakos

Programmer
Joined
Jan 25, 2001
Messages
2
Location
CA
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top