Page 1 of 1

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

Posted: Fri Dec 04, 2009 6:57 pm
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"?)

Re: Not finding index.php files by default?

Posted: Fri Dec 04, 2009 8:35 pm
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".

Re: Not finding index.php files by default?

Posted: Fri Dec 04, 2009 8:38 pm
by Broccolipants
Ahh, thank you! I appreciate it.