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.