Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-25-2004, 06:41 PM   PM User | #1
gohankid77
Regular Coder

 
Join Date: Jul 2004
Location: engoku no anime
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
gohankid77 is an unknown quantity at this point
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:

DirectoryIndex index.php


Maybe I missed something? Also, what directory does the .htaccess file go in?

Thank you!

# Edit

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!
__________________
Spread Firefox!
Get Firefox!

Last edited by gohankid77; 09-25-2004 at 06:54 PM..
gohankid77 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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


All times are GMT +1. The time now is 06:12 AM.


Advertisement
Log in to turn off these ads.