Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

executing PerlHandler after default_handler?

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


dietbuddha at gmail

May 12, 2009, 10:58 PM

Post #1 of 2 (602 views)
Permalink
executing PerlHandler after default_handler?

Does anyone if it's possible to fall through the default_handler
(decline?) to a PerlHandler?

What I want to do is issue a redirect if the file that was requested
is not on disk, and I don't want the extra stat due to an NFS mount.

Of course I can serve up the file myself, but it seems as though I
should be able to leverage the default_handler.

-wjt


torsten.foertsch at gmx

May 12, 2009, 11:36 PM

Post #2 of 2 (545 views)
Permalink
Re: executing PerlHandler after default_handler? [In reply to]

On Wed 13 May 2009, William T wrote:
> What I want to do is issue a redirect if the file that was requested
> is not on disk, and I don't want the extra stat due to an NFS mount.

How about ErrorDocument 404 /modperl/handler/uri?

http://httpd.apache.org/docs/2.2/mod/core.html#errordocument

Torsten

--
Need professional mod_perl support?
Just hire me: torsten.foertsch [at] gmx

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.