View Single Post
Old 7th September 2011, 11:57
Helstedxd Helstedxd is offline
Junior Member
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default i can access php files without typeing extensions

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
Reply With Quote
Sponsored Links