Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

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

Mark Stosberg

2008-04-24

Replies: Find Java Web Hosting

Author LoginPost Reply
> On Tue, Apr 22, 2008 at 2:27 PM, Mark Stosberg <mark@(protected)>
> 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
 mark@(protected)  
 765-939-9301 ext 202   database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .


©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.