www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: mod_cgi/3119: premature end of script headers on run cgi perl script
Date Thu, 01 Oct 1998 16:50:00 GMT
The following reply was made to PR mod_cgi/3119; it has been noted by GNATS.

From: Marc Slemko <marcs@znep.com>
To: Tania Vichnevskaia <tania@ceped.ined.fr>
Cc: apbugs@hyperreal.org
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?
 

Mime
View raw message