dtufano
dtufano

Reputation: 21

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 help would be appreciated.

Upvotes: 0

Views: 796

Answers (1)

Chris
Chris

Reputation: 10435

Just add another RewriteCond:

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

Upvotes: 1

Related Questions