RE: [PHP-DB] Getting apache to recognize"index.php"....
| From: | Ryan Marrs | Date: | Tue, 04 Dec 2001 16:24:16 +0000 |
| Subject: | RE: [PHP-DB] Getting apache to recognize"index.php".... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14808@lists.php.net to get a copy of this message | ||
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:vbeaulie@uottawa.ca]
Sent: Tuesday, December 04, 2001 11:23 AM
To: php-db@lists.php.net
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: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net