executing PerlHandler after default_handler?

executing PerlHandler after default_handler?

am 13.05.2009 07:58:17 von William T

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

Re: executing PerlHandler after default_handler?

am 13.05.2009 08:36:37 von torsten.foertsch

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@gmx.net