On Fri, 28 Feb 2003, Jiann-Ming Su wrote:

> Did anyone else notice upgrading to apache-1.3.27 broke some cgi perl scripts.
> My perl scripts have broken with "Premature end of script headers" error.
> According to the error_log, it seems like the @INC variable isn't set
> properly.  If you've ran into this problem and fixed it, please enlighten me.
> Thanks.  BTW, I'm using 7.2.

Chances are your problem is that the script file has DOS end-of-line
characters in it.

Suggest you run them through dos2unix and try them again.

You can actually confirm the DOS type file by doing

"cat -v -t -e filename"

I belive you will see ^M at the end of the line...

Regards,
Ed

-- 
http://www.shorewall.net/  for all your firewall needs



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to