Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
09-25-2004, 07:41 PM #1
- Join Date
- Jul 2004
- engoku no anime
- Thanked 0 Times in 0 Posts
DirectoryIndex (Apache) not working???
Hi everyone... I'm new to Apache and PHP, so I was just wondering how to change my main page. I'm running the latest version of Apache and PHP (as far as I know), and I can't get DirectoryIndex to work in my .htaccess file or in httpd.conf. Can someone tell me how to change my default start page, so when I type "http://localhost/" it comes up? Here is what I was using:
Maybe I missed something? Also, what directory does the .htaccess file go in?
Fixed it. My computer was being screwy. A simple restart and....
Note to self: when changing from a file that gets cached as your home page such as a text file, clear the cache, restart Apache, and try again
Thank you everyone!