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

Re: [cobalt-users] Add Extensions for execution



> I cannot seem to find where we add extensions to run.  For example, I need to
> run an index.php3 file but in order to do it I need to add the .php3 extension
> to the list.  Where is this file (list)?

It's in the srm.conf file in /etc/httpd/conf. It's pretty close to the top
and should look similar to this (all one line):

# 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.php
index.php3

> What File or files do I need to change and then I assume that I need to
> restart apache????

Just add the index.php and index.php3 like above and then restart Apache.

/etc/rc.d/init.d/httpd restart

cya,
j