Page 1 of 1

Mod Rewrite and .ico files

Posted: Tue Feb 12, 2008 5:45 am
by shiznatix
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?

Re: Mod Rewrite and .ico files

Posted: Tue Feb 12, 2008 6:51 am
by shiznatix
of course it redirects, there was no rakeback.ico file! zargs! i hate it when i do stuff like that.