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 How do I ignore a directory in mod_rewrite? -- reposting because I wasn't sufficiently clear about the problem first time around.

Community
  • 1
  • 1
user24557
  • 871
  • 1
  • 7
  • 6

2 Answers2

1

Replace:

RewriteRule ^vip/.$ - [PT]

with:

RewriteRule ^vip/.*$ - [PT,L]
ceejayoz
  • 176,543
  • 40
  • 303
  • 368
0

The easy way I do it when needed is add a new .htaccess file to that folder and in it put

RewriteEngine Off

edited to fix typo

aron.duby
  • 2,072
  • 2
  • 15
  • 21