trib4lmaniac
10-20-2004, 04:43 PM
How do you set up mod_rewrite (on apache2) to append .php to a url if the file exists? I've tried
RewriteEngine On
RewriteCond %{REQUEST_URI}.php -f
RewriteRule ^(.*)$ $0.php
But that doesn't work
RewriteEngine On
RewriteCond %{REQUEST_URI}.php -f
RewriteRule ^(.*)$ $0.php
But that doesn't work