[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practices for returning 404/file-not-found pages inside and outside of mod_perl


> On Tue, Apr 22, 2008 at 2:27 PM, Mark Stosberg <suppressed>
> wrote:
> >   A. If I just set "status => 404" with CGI.pm / Apache::Registry
> > and return nothing, it works the first time, and then after that I
> >    get a lot of these errors:
> >
> >    "[Tue Apr 22 13:47:07 2008] [error] Can't locate
> > SAP/QuickSearch.pm in @INC" And indeed, the path that should be set
> > via PerlSetEnv is missing.
> 
> Hmm, PerlSetEnv depends on being inside a specific
> Location/File/Directory block.  Are you sure that apache has resolved
> to the block you think it's in when you have this problem?

No, I'm not. Are there debugging techniques that help me confirm 
this?

Thanks again for your help, Perrin.

    Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   suppressed     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.