Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 6.0 support Acid_Scorpion Developers' Forum 47 16th September 2011 11:36
Cron errors guimnk General 1 5th April 2011 10:20
Multiserver setup: repquota command not found. CSsab Installation/Configuration 2 27th January 2011 16:11
Access forbidden for php files in browser... html files work just fine krissie Server Operation 2 30th June 2010 13:08
php script injections Grizzly General 21 18th July 2006 09:55

All times are GMT +2. The time now is 21:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.