tags:

views:

146

answers:

1

How do I get modrewrite to ENTIRELY ignore the /vip/ directory so that all requests pass directly to the folder?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^vip/.$ - [PT]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

See also http://stackoverflow.com/questions/163302/how-do-i-ignore-a-directory-in-modrewrite -- reposting because I wasn't sufficiently clear about the problem first time around.

+1  A: 

Replace:

RewriteRule ^vip/.$ - [PT]

with:

RewriteRule ^vip/.*$ - [PT,L]
ceejayoz
Alas this didn't work - any idea why?