You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Tania Vichnevskaia <ta...@ceped.ined.fr> on 1998/10/01 12:48:26 UTC
mod_cgi/3119: premature end of script headers on run cgi perl script
>Number: 3119
>Category: mod_cgi
>Synopsis: premature end of script headers on run cgi perl script
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Oct 1 03:50:00 PDT 1998
>Last-Modified:
>Originator: tania@ceped.ined.fr
>Organization:
apache
>Release: 1.3.1
>Environment:
AIX 4.2.1
>Description:
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:
<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
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]