The following reply was made to PR mod_cgi/3119; it has been noted by GNATS.

From: Marc Slemko <[EMAIL PROTECTED]>
To: Tania Vichnevskaia <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: mod_cgi/3119: premature end of script headers on run cgi perl
 script
Date: Thu, 1 Oct 1998 09:40:17 -0700 (PDT)

 On 1 Oct 1998, Tania Vichnevskaia wrote:
 
 > I have a Internal Server Error with text "premature end of script headers: 
 > /usr/local/apache/share/cgi-bin/mot.pl" in the error_log
 > 
 > In access.conf:
 
 Yea, so your CGI script is broken.  And the problem with Apache is...?
 
 > 
 > <Directory /usr/local/apache/share/cgi-bin>
 > AllowOverride None
 > Options ExecCGI
 > </Directory>
 > 
 > In srm.conf
 > AddHandler cgi-script .cgi
 > AddHandler cgi-script .pl
 > AddHandler cgi-script .exe
 > 
 > In Perl file
 > 
 > #!/usr/bin/perl
 
 The above sure as heck isn't a CGI script, and the error your are getting
 is exactly what you should be.
 
 Why do you think this is a problem with Apache?
 

Reply via email to