Click to See Complete Forum and Search --> : Apache and index.php


Anon
04-27-2002, 07:08 AM
Hmm, maybe I've not been playing with it long enough but...

Apache 1.3.24 has PHP 4.1.2 running nicely on my Win98 machine. But Apache can't seem to understand "index.php" IS an index page. It keeps dealing out directory listings instead of dealing out the index.php page.

Any pointers on what I've not done? pwease? *big puppy-dog eyes*

Anon
04-27-2002, 07:40 AM
If you want index.php to be your index page you need to adjust the Apache directive DirectoryIndex to include index.php.

It's tucked away in httpd.conf. Look for
<IfModule mod_dir.c>