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  [EMAIL PROTECTED]  404-712-2603
> Development Team Systems Administrator
> General Libraries Systems Division
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



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

Reply via email to