[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Premature end of script headers?
- From: Ed Greshko greshko com
- To: redhat-list redhat com
- Subject: Re: Premature end of script headers?
- Date: Fri Feb 28 12:09:21 2003
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]