How can I exclude one directory from mod_rewrite?
Following is the contents of my .htaccess file.
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
I have a directory with name 'abc' in my document root. Whenever I access this directory my server is returning me the 404 error message. If I turn off the mod_rewrite I am able to access this directory.
Please help
Thanks
-Albin