[redirected to beginners-cgi list]

zegdatwel wrote:
> hi,
> 
> "Premature end of script headers"
> 
> what can this mean...it's in the error log. When does this
> happen? I got error 500 when executing script.

It means your script ended (normally or abnormally) before emitting a proper
MIME header. The web server needs to find your response headers so it can
add some of its own before sending the full response back to the client. For
some reason, the server isn't finding the headers.

This can be caused by:

1. Your script died for some reason. If an error message was output by perl
or by your script, it should be in the web server's error log, so look
there.

2. Your script is not emitting a proper MIME header.

Lots of good information can be found at
http://www.perl.org/CGI_MetaFAQ.html

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to