Re: Apache Question
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Apache Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7337@lists.php.net to get a copy of this message | ||
Lisa:
1. Apache's httpd.conf file (THE configuration file) should be in:
apache/conf/httpd.conf (ot httpd.conf.default)
2. Find the following line:
#
# DirectoryIndex: Name of the file or files to use as a pre-written
#HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.shtml
3. Simply add your desired file ending to this:
So I have:
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.html
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.phtml
HTH :)
Russ
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
http://gertrude.sipu.anglia.ac.uk/webteam
r.j.michell@anglia.ac.uk
+44 (0)1223 363271 ext 2331
www.theruss.com
#-------------------------------------------------------#