I just finished installing a LAMP stack on Ubuntu 12, and have run into an issue with Apache\'s .htaccess file. I have the rewrite and redirect mods enabled, and the .htacce
Please try This code and tell me it performance.
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)/$ $1.php RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^(.*)/$ $1.html RewriteCond %{REQUEST_FILENAME}.py -f RewriteRule ^(.*)/$ $1.py