Hi, I got the following in my htaccess file: Options -Indexes +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*[^/]) index.php?show=$1 [L] I'm thinking that if a file already exists, then this rule should be ignored, and that file should be used instead of index.php That is not what is happening. Even if the file exists, the server is following this rule and not loading the specified file For example: mydomain.com/xyz is working because there is no "xyz" file but: mydomain.com/images/logo.jpg doesn't work, and it shows the home page, which is in the rule (index.php) This is messing up my template which shows the image file. What should I do? It's not just about images, php, etc files that "exist" are ignored as well. BTW, it's working fine on my dev server, just the production server messes up everything. I cannot change INI or conf files on the production server What to do? Thanks
i can't tell what is wrong, but try to use: http://htaccess.madewithlove.be/ http://martinmelin.se/rewrite-rule-tester/