[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] index.php



Kyle Smith <kyle.s@xxxxxxxxxxxxx> wrote:
> How do I get Apache to accept one the following as the directory index?
>
> index.php index.phtml index.php3 index.html index.htm index.xml

Edit the existing line in srm.conf.  Mine looks like:

DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3
home.html home.htm

If you have multiple index* files in the same directory when a URL pointing to
that directory is accessed the server will return the first matching file found
in that list.  Be sure to restart Apache after editing srm.conf.

Steven Werby {steven-lists@xxxxxxxxxxxx}