>>>>> I have some settings inside a <Location /> block that I need applied >>>>> to all but those same files: >>>>> >>>>> /folder/file.html >>>>> /folder/file.txt >>>>> >>>>> Can that be done or do I need to use a separate VirtualHost for those >>>>> files? >> >> Does anyone know if this can be done? >> >> - Grant > > You can try to exclude exactly those two with a locationmatch, or just > use <location /> and then two <location> for the separate URL's to > revert the values (most directives can be "undone") Thanks, easy as pie: <Location /> SetHandler perl-script PerlResponseHandler ... PerlSetVar ... </Location> <Location /folder/file.html> SetHandler None </Location> <Location /folder/file.txt> SetHandler None </Location> Would this work: <Location /> SetHandler perl-script PerlResponseHandler ... PerlSetVar ... </Location> <Directory "/folder"> SetHandler None AuthType Basic AuthName "Admin" AuthUserFile /path/to/passwords Require user admin Options None Order allow,deny Allow from all </Directory> <Location /folder/file.html> SetHandler None AuthType None </Location> <Location /folder/file.txt> SetHandler None AuthType None </Location> I'm hoping that / will be handled by perl-script with the exception of everything in /folder, and that everything in /folder will require authentication with the exception of /folder/file.html and /folder/file.txt. - Grant --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx