(Solved) Not finding index.php files by default?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Broccolipants
Forum Newbie
Posts: 3
Joined: Fri Dec 04, 2009 6:52 pm

(Solved) Not finding index.php files by default?

Post by Broccolipants »

When I open an index.php file, it's all good, but by default it's not going straight for the index when I open a directory. Can someone help me out with arranging that? I've googled, but it's a hard thing to google ("PHP Index.php find by default"?)
Last edited by Broccolipants on Fri Dec 04, 2009 8:38 pm, edited 1 time in total.
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Not finding index.php files by default?

Post by Doug G »

You need to configure your web server to know that index.php is a default document name for a directory. In IIS it's the "default document" setting, in apache it's "directory index".
Broccolipants
Forum Newbie
Posts: 3
Joined: Fri Dec 04, 2009 6:52 pm

Re: Not finding index.php files by default?

Post by Broccolipants »

Ahh, thank you! I appreciate it.
Post Reply