Apache Problems

Status
Not open for further replies.

tavilach

In Runtime
Messages
134
Why won't Apache load up index.php by default? (See attachment)
 

Attachments

  • laptopdesktopghz.jpg
    29.8 KB · Views: 74
I know in Linux it's a setting in httpd.conf under the section DirectoryIndex. By default it just says index.html, so all you need to add is index.php on the same line. Not sure about win32, but it should be something similar.
 
You need to configure it to recognize index.php as a main index file.

I can't quite remember where it is, but do a search in your httpd.conf for strings such as "index.html, index.htm", etc., and add the index.php (or index.phtml and .php3 as well)
 
Status
Not open for further replies.
Back
Top Bottom