Java Mailing List Archive

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

Home » modperl.perl »

disable input and output filters for subfolders

Mike Barborak

2009-07-29

Replies: Find Java Web Hosting

Author LoginPost Reply
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?

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