排除了htaccess的管理文件夹文件夹、htaccess

2023-09-02 01:13:59 作者:有种努力叫奋斗

如何禁用的.htaccess 的一些文件夹? 例子我想排除htaccess的我管理​​文件夹 让我知道.. 解决方案

您可以使用此规则停止重写的过程为特定的URL路径preFIX:

  RewriteEngine叙述上
重写规则^管理($ | /) -  [L]
 

How to disable .htaccess for some folders? Example I want exclude htaccess for my admin folder Let me know.. WIN10系统自带防护软件添加排除文件夹是出现提示

解决方案

You could use this rule to stop the rewriting process for that specific URL path prefix:

RewriteEngine on
RewriteRule ^admin($|/) - [L]