Chaosratt Posted May 3, 2004 Share Posted May 3, 2004 How do I make Apache2 treat an index.php file just like it does an index.html file? Link to comment Share on other sites More sharing options...
Datalore Posted May 4, 2004 Share Posted May 4, 2004 Open up your httpd.conf file (in Apache directory) and search for the word "DirectoryIndex". You should see "index.html" and maybe others... simply add index.php to the list. No commas or anything, make it look like this:DirectoryIndex index.php index.htmlThat should do it! Link to comment Share on other sites More sharing options...
Chaosratt Posted May 4, 2004 Author Share Posted May 4, 2004 I knew it was going to be something simple like that.I have an apache book here (For ver 2 none the less) and I know I've seen that in there before, but I couldnt find it this time.I'll let you all know my site address when its ready. My ISP finally gave me a dedicated IP with my account upgrade. As for the admins who already know my IP, there isnt much there but an empty index, so dont bother Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now