Can you help me with an Apache rule to exclude a particular file name or type of file? Here are my current rules:
RewriteRule ^/(?:blog)/ - [L]
RewriteRule ^crossdomain\.xml$ - [L] (Based on first response)
RewriteRule ^/(.*_css.*\.css.*) /$1 [QSA,L]
RewriteRule ^/(.*_js.*\.js.*) /$1 [QSA,L]
RewriteRule ^/(.*_swf.*\.swf.*) /$1 [QSA,L]
RewriteRule ^/(.*_img.*\.[jpg|JPG|jpeg|JPEG|gif|GIF|bmp|BMP|png|PNG].*) /$1 [QSA,L]
RewriteRule ^/(.*)$ /index.php?url=$1 [QSA,L]
</VirtualHost>
I am trying to exclude my Flash crossdomain.xml file from getting rewritten. Thanks!