How to ignore .htaccess?
Is there a way to tell Apache to ignore other .htaccess files under current directory? For example:
/web/.htaccess [this is parsed, I would like to define the rule here]
/web/uploads/.htaccess [this should 开发者_如何学编程be ignored]
In your main apache config, add the directive AllowOverride None
.
This will prevent it from looking at .htaccess files.
For more info, see http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
精彩评论