>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: [EMAIL PROTECTED] >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 <[EMAIL PROTECTED]> 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! ]
