Technical.PrematureEndOfScriptHeaders AdamAndLiz > Technical > ErrorSolutions > PrematureEndOfScriptHeaders
Home | User TWikiGuest Edit | Attach | More
Find
Go

Edit Menu

Premature End Of Script Headers

I got this error when accessing a cgi perl script:

Server error!
Error message:
Premature end of script headers: savecomment
If you think this is a server error, please contact the webmaster
Error 500

In the apache error_log, the following error was observed:

[Sat Nov 15 20:14:24 2003] [error] [client 192.168.7.3] Premature end of script headers: savecomment, referer: http://www.adamandliz.com/twiki/bin/view/Technical/PrematureEndOfScriptHeaders

In this case (and there are many other reasons or it I believe) it was the permissions on the script, Group did not have execute authority and the owner was root.

I did a chmod 755 scriptname and it worked!!

-- AdamWhite - 15 Nov 2003

Comments



Please refresh.

-- TWikiGuest - 17 Aug 2005


 

  Edit | Attach | More
Revision r1.6 - 17 Aug 2005 - 03:10 GMT - TWikiGuest Copyright © 2003 by the contributing authors. Send feedback.