Hi, My site has the following rewrite logic in .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?url=$1 [L] </IfModule> I expect this code to redirect requests (that don't map up directly to a file or directory on the system) to be redirected to index.php?url={url here}, so / would map to index.php /test1 would map to index.php?url=/test1 /test2/test3 would map to index.php?url=/test2/test3 /test4/test5/test6 would map to index.php?url=/test4/test5/test6 This works perfectly on a number of machines. On one machine, however, / maps to index.php correctly (and i verified it by setting up a rewrite log), but /test1 is mapping to /test1 rather than /index.php?url=/test1... and the same with any other requests on this machine. My first thought was that mod_rewrite wasn't loading, but I am logging the rewrites and the logging is definitely working. Here's my configuration for the log file: RewriteEngine On RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 9 CustomLog /var/log/apache2/test-rewriterule.log combined Any guesses as to why this is failing so hard? Thanks, David
As you have mentioned the issue persists only in one machine Can we check ensure the httpd.conf of all the machines are equal and directory structure and the permission are same Thanks Philix