httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph A Nagy Jr <>
Subject Re: [users@httpd] Excluding SetHandler
Date Sat, 31 May 2003 04:45:50 GMT
Batara Kesuma wrote:
> Hi,
> How can I exclude a directory from SetHandler? I have:
> <Directory /var/www/html>
> <FilesMatch "\.(cgi|pl)$">
>   SetHandler perl-script
>   PerlHandler ModPerl::PerlRun
>   PerlOptions +ParseHeaders
>   Options +ExecCGI
> </FilesMatch>
> </Directory>
> <Directory /var/www/html/no_perl>
>   SetHandler None
> </Directory>
> I want to exclude /var/www/html/no_perl, I tried to set SetHandler to
> None, but it seems like it doesn't work :( How can I fix this? 

Since it works on physical location, how about taking no perl out of 
/var/www/html (say, putting it in /var/www/) and aliasing it to where 
you need it?

Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of 
the +3 Clue-by-Four of No Attachments to a Mailing List,
and the -4 Shield of No Spell Checker

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message