Knowledgebase: Miscellaneous
How to ignore mod_rewrite rules for particular files
Posted by Dmitry M. on 17 February 2011 06:44 AM
If you want to ignore mod_rewrite rules in case some file or directory exists add this code to your .htaccess file:

PHP Code:
RewriteCond %{REQUEST_FILENAME} -[NC,OR]
RewriteCond %{REQUEST_FILENAME} -[NC]
RewriteRule .* - [L
(4 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion