On Wed 29 Jul 2009, Mike Barborak wrote:
> i have filters working correctly for a directory on my website. there
> is a subdirectory that i would like to not be passed through the
> filters. can i do this through the apache conf file or do i need to
> code this into my filters?
>
> here is my apache setup:
>
> PerlRequire "/var/www/vhosts/mydomain.com/conf/seo_startup.pl"
> PerlModule HTTPRequestFilter
> PerlModule HTMLFilter
>
> <Directory /var/www/vhosts/mydomain.com/httpdocs>
>         PerlInputFilterHandler HTTPRequestFilter
>         PerlOutputFilterHandler HTMLFilter
> </Directory>
>
> grasping for straws, i tried to add this but it didn't work:
>
> <Directory /var/www/vhosts/mydomain.com/httpdocs/test>
>         PerlInputFilterHandler
>         PerlOutputFilterHandler
> </Directory>
>
> 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).

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foert...@gmx.net

Reply via email to