The error_log entry is an exact match of the string quoted by you,
added with date, time and client address information.

----- Original Message ----- 
From: "Jens Petter Salvesen" <[EMAIL PROTECTED]>
To: "Alexey Shakin" <[EMAIL PROTECTED]>; <modperl@perl.apache.org>
Sent: Wednesday, May 14, 2008 1:33 PM
Subject: RE: Impossible to run a script.


Hello, Alexey

The first thing to check is your error_log. It contains all output to
stderr from your script. "Premature end of script headers" usually means
the script terminated because of some error or was unable to start in
the first place.

Best regards,
Jens-Petter Salvesen

-----Original Message-----
From: Alexey Shakin [mailto:[EMAIL PROTECTED] 
Sent: 14. mai 2008 10:19
To: modperl@perl.apache.org
Subject: Impossible to run a script.

Hello ALL!

SUBJ!
In answer to any attempt to address
a script from the cgi-bin directory I am
getting the following message

The server encountered an internal error and was unable to complete your
request.
Error message:
Premature end of script headers: script.pl

I have checked all possible causes that I could think about, namely:
the ExecCGI param is on for the directory,
there is an proper alias for the directory,
the script works in itself (right path to the perl in the header),
on another server the script runs (from the same directory).
What other possibilities may there be?
Thanks for help.



Reply via email to