httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Smith <>
Subject Stopping rewrites from higher directories?
Date Fri, 04 Oct 1996 09:10:40 GMT
I am having a few probs with mod_rewrite because of the following

If I have this in the .htaccess of my top docs directory

RewriteRule ^foo\.html$ /cgi-bin/

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

Thanks for any help

Michael Smith

View raw message