开发者

Apache Rewrite Exclusion

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜