[thelist] change index.htm to index.php

Steve Purkiss Barry.Purkiss at btopenworld.com
Wed Mar 6 06:22:03 CST 2002


>   How do I set index.php to be the file the server looks for instead
>   of index.htm?

On Apache you just add "index.php" in the apache/conf/httpd.conf file so it
looks like this:

#
# 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
</IfModule>


HTH

Steve




More information about the thelist mailing list