Exclude htaccess for admin folder
问题 How to disable .htaccess for some folders? Example I want exclude htaccess for my admin folder Let me know.. 回答1: You could use this rule to stop the rewriting process for that specific URL path prefix: RewriteEngine on RewriteRule ^admin($|/) - [L] 回答2: you can do something like that in your httpd.conf <Location /admin> AllowOverride None </Location> see the documentation here 来源: https://stackoverflow.com/questions/1715785/exclude-htaccess-for-admin-folder