Apache重写排除

时间:2010-03-24 05:58:12

标签: php apache .htaccess mod-rewrite

我无法弄清楚如何从此重写规则中排除/ public / bin

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

任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:1)

只需添加另一个RewriteCond

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