Which directive could make apache/rewrite redirect products/ to products.php
- by Fernando
Hello,
I am having a trouble with two different apache servers. They are 2.2.x, so minor version is different.
At both of them i have the same php application with this .htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
My issue is that in server A, when i access products/ it redirects me to products.php.
While in server B, when i access products/ it redirects me to index.php. This is the correct and wanted behavior.
As the modrewrite rules are equal in both servers, any ideas of other directives that could be causing this problem?
Thanks!