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

Re: [cobalt-users] WebMail Trouble



On Saturday 09 February 2002 01:59 am, Rick Eames wrote:
> Okay, well I tried installing it.  I downloaded it, expanded it, and ran
> the config.  Everything works great...
>
> Except...
>
> How do I get the httpd to treat index.php the same as index.html?
>
> Is there mapping somewhere?
>

look at /etc/httpd/conf/srm.conf

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.

#DirectoryIndex index.html index.htm index.shtml home.html home.htm index.cgi
DirectoryIndex index.php index.html index.htm index.shtml home.html home.htm 
index.cgi

Note the second line (I changed) to add index.php, as first choice
Then run 
/etc/rc.d/init.d/httpd reload

Gerald Waugh