开发者

Apache Rewrite Exclusion

开发者 https://www.devze.com 2022-12-24 23:29 出处:网络
I\'m having trouble figuring out how to exclude /public/bin from this rewrite rule RewriteCond %{REQUEST_URI} !firerift.php

I'm having trouble figuring out how to exclude /public/bin from this rewrite rule

RewriteCond %{REQUEST_URI} !firerift.php
RewriteRule ^(.*)$ firerift.php/$1 [L,QSA,NC]

Any h开发者_JAVA技巧elp would be appreciated.


Just add another RewriteCond:

RewriteCond %{REQUEST_URI} !firerift.php
RewriteCond %{REQUEST_URI} !^/public/bin
RewriteRule ^(.*)$ firerift.php/$1 [L,QSA,NC]
0

精彩评论

暂无评论...
验证码 换一张
取 消