perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <>
Subject Re: disable input and output filters for subfolders
Date Thu, 30 Jul 2009 16:26:05 GMT
On Thu 30 Jul 2009, Torsten Foertsch wrote:

Sorry, I hit return while one of my left hand fingers rested on the CTRL 
key and the MUA interpreted this as "send mail now".

So, here comes the rest of what I wanted to say.

> On Wed 29 Jul 2009, Mike Barborak wrote:
> > is there magic to remove filters for a subdirectory or even disable
> > mod_perl altogether?
> A filter can remove itself on first invocation ($f->remove). It can
> also remove any filter further down the filter chain
> ($f->next->next...->remove).

So, you can write a simple filter that checks things and removes the 
next filter in the chain if necessary. Then you insert this filter 
right before the unwanted one.

You can also disable mod_perl for certain request phases:

or completely:


Need professional mod_perl support?
Just hire me:

View raw message