HiI'm having real trouble getting mod_rewrite to run properly on my Windows machine. These are the directives stored in an htaccess file in the root directory:htaccessDirectoryIndex home.php
index.php index.htmlRewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME}
Tim Stickland wrote:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . %{REQUEST_FILENAME}.php [L]
Don't use a physical path here, use r-uri instead.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d