Helstedxd
7th September 2011, 10:57
Hi HowToForge
I have set a Debian minimal 6 LAMP server up, and i have enabled mod_rewrite, but when i make a .htaccess file and write index.html i get a Error 404, but i can access the index.php without typeing the php extension, like http://domain/index
my .htaccess
RewriteEngine on
RewriteRule (.*)\.html $1.php
i hope some of you can help me with my problem
//Kasper Helsted
I have set a Debian minimal 6 LAMP server up, and i have enabled mod_rewrite, but when i make a .htaccess file and write index.html i get a Error 404, but i can access the index.php without typeing the php extension, like http://domain/index
my .htaccess
RewriteEngine on
RewriteRule (.*)\.html $1.php
i hope some of you can help me with my problem
//Kasper Helsted