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

Re: [cobalt-users] Default files to search for when none supplied [was: (no subject)]



"David Shaw" <tolwyn@xxxxxxxxxxxxxx> wrote:
> I have a RaQ3 with ALL of the current upgrades.
> Chilisoft ASP and the upgrade to that.
>
> Where oh where can I add "index.asp, index.shtml" and many other valid
> default documents on the box?

In /etc/httpd/conf/srm.conf.  If you want to quickly find the line do:

cat /etc/httpd/conf/srm.conf | grep -n DirectoryIndex

It will return the line text and the line #.  Then do

pico +LINE_NUMBER_HERE /etc/httpd/conf/srm.conf

You need to be the 'root' user to save changes to the file.  While logged in
as user 'admin' do:

su - (then enter admin password)

For the changes to take effect, restart Apache
/etc/rc.d/init.d/httpd restart

Also check www.apache.org and search on 'DirectoryIndex' to learn more about
how it works.

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