[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Premature end of script headers?
- From: Jonathan Bartlett <johnnyb eskimo com>
- To: redhat-list redhat com
- Subject: Re: Premature end of script headers?
- Date: Fri Feb 28 13:18:48 2003
My guess is that one of several things may have happend:
1) It was running under mod_operl before, but it's not now
2) You were setting an evnironment variable that's no longer being set
The quick answer is to begin your script with
BEGIN {
push(@INC, ".");
}
Jon
On Fri, 28 Feb 2003, Jiann-Ming Su wrote:
> 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.
> >
>
> Let me clarify, the script can't find a module that's located in the
> same directory that it's in. I'm really confused as to why this is
> suddenly becoming a problem.
>
> --
> Jiann-Ming Su jsu2 emory edu 404-712-2603
> Development Team Systems Administrator
> General Libraries Systems Division
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]