https://issues.apache.org/bugzilla/show_bug.cgi?id=47259

           Summary: Perl scripts created using Notepad do not work
           Product: Apache httpd-2
           Version: 2.2-HEAD
          Platform: PC
               URL: http://httpd.apache.org/docs/2.2/howto/cgi.html#troubl
                    eshoot
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Please append new content to

=== A message saying "Internal Server Error" ===
If you check the Apache error log, you will probably find that it says
"Premature end of script headers", possibly along with an error message
generated by your CGI program. In this case, you will want to check each of the
below sections to see what might be preventing your CGI program from emitting
the proper HTTP headers.

This message can also be caused by invalid CGI script format.  In particular,
for a Linux-hosted server, the first line of the script must end with line feed
and not carriage return and line feed; the exec library function treats the
carriage return as a part of the command string, causing the invocation to fail
with "command not found" or "script not found".  This can happen if you created
your script in Notepad and uploaded it using WebFolders in Microsoft Windows
(the file gets uploaded as-is, with the original file separators).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to