You were correct as to the file to look in.  The directive passed is:
DirectoryIndex index.html

Change this to read:

DirectoryIndex index.html index.php

And that should be it.  You may need the Apache Module mod_dir, but I'm not
entirely sure, here's what my config looks like:

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.
# 
<IfModule mod_dir.c>
    DirectoryIndex index.html index.php index.htm
</IfModule>



________________________________________________
 Ryan Marrs
 Web Developer
 Sandler and Travis Trade Advisory Services, Inc.
 248.474.7200 x 183
 http://www.strtrade.com
 
 

-----Original Message-----
From: Vincent Beaulieu [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 04, 2001 11:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Getting apache to recognize"index.php"....

Can anyone tell me where to configure apache so that it recognizes
index.php as the index of a directory?  I tried looking through the
httpd.conf file for the option to add an extension...couldn't see
anything! My server treats index.html files correctly...(but is not
working with index.php)!

HELP!

Thank you,

Vincent


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to