Mod Rewrite and .ico files
Posted: Tue Feb 12, 2008 5:45 am
I am redirecting everything using my .htaccess file to index.php except for a few exceptions. This is the rule I am using:
RewriteRule !\.(js|ico|gif|jpg|png|css|php|bmp|txt)$ index.php
But the problem is that it works for everything except .ico files! I can go to http://www.rakeback.com/rakeback.ico and I get the 404 error. I don't get it because I have explicitly said not to redirect .ico files. How can I fix this?
RewriteRule !\.(js|ico|gif|jpg|png|css|php|bmp|txt)$ index.php
But the problem is that it works for everything except .ico files! I can go to http://www.rakeback.com/rakeback.ico and I get the 404 error. I don't get it because I have explicitly said not to redirect .ico files. How can I fix this?