(Solved) Not finding index.php files by default?
Moderator: General Moderators
-
Broccolipants
- Forum Newbie
- Posts: 3
- Joined: Fri Dec 04, 2009 6:52 pm
(Solved) Not finding index.php files by default?
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.
Re: Not finding index.php files by default?
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?
Ahh, thank you! I appreciate it.