engarde-users April 2003 archive
Main Archive Page > Month Archives  > engarde-users archives
engarde-users: [EnGarde] Re: Help, please - apache does not exec

[EnGarde] Re: Help, please - apache does not execute a simple perl cgi program

From: Ashar <list_at_nospam>
Date: Tue Apr 08 2003 - 04:32:06 GMT
To: "Jeremiah D. Campbell" <engarde-users@engardelinux.org>

Tuesday, April 8, 2003, 4:16:02 AM, you wrote: JDC> Your error log (pasted above from your previous e-mail) shows a JDC> "premature end", doesn't this mean it is finding the file, but is not JDC> executing correctly. Is apache running in a chroot, and not able to JDC> access "/usr/bin/perl"? I think the "no such file" is an error coming JDC> from the script being un-able to find a file, not from apache.

"Premature end of script headers: " you can get this error by using MS format files.

what are you using to create the perl files? If it is some MS based software then you should know that UNIX has different end-of-line characters from MS

If (big IF) I remember correctly MS uses CR-LF, UNIX is just CR.

Ashar


To unsubscribe email engarde-users-request@engardelinux.org with "unsubscribe" in the subject of the message.