I am having a few probs with mod_rewrite because of the following phenomena: If I have this in the .htaccess of my top docs directory RewriteRule ^foo\.html$ /cgi-bin/prog.pl Then this works but it is also applied if I access any subdirectory of docs; unless I set AllowOverride None. (presumably decause all higer directories are consulted). Is there some way of turning off this behaviour? ie can I redirect/rewrite just from particular directories and not their subdirectories? Thanks for any help Michael Smith