时间:2021-07-01 10:21:17 帮助过:7人阅读
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(!cb)(.*)$ index.php?/$1 [QSA,PT,L]
目前规则,我想让他排除掉 cb 这个二级目录,就cb目录的话就不要执行这个重写路由,该怎么写啊。。:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(!cb)(.*)$ index.php?/$1 [QSA,PT,L]