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

Re: [cobalt-users] DirectoryIndex



"Tomas Garcia Ferrari" <tgf@xxxxxxxxxxx> wrote:
> How do you change from the GUI the value of "DirectoryIndex" of a website?
> (I would like to set "DirectoryIndex index.php" for a website)

This cannot be done from the GUI.  To make the change for all sites edit
/etc/httpd/conf/srm.conf.  To change a single site edit its VirtualHost
container in /etc/httpd/conf/httpd.conf and then restart Apache
(/etc/rc.d/init.d/httpd restart) or add the line to a .htaccess file in the
site's web root directory.  If this gives you an error you may need to edit
/etc/httpd/conf/access.conf and change the Options directive in the
<Directory /home/sites> container.  See apache.org, HTTP server, 1.3,
directives, DirectoryIndex (this is from memory) for more details.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/