[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RAQ3 how do you disallow index viewing?
- Subject: RE: [cobalt-users] RAQ3 how do you disallow index viewing?
- From: "Ray Smith" <ray@xxxxxxxxxxx>
- Date: Thu Dec 6 18:13:36 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
>I'm looking at my shiny new "Linux Apache Web Server Admininstration" book
>and it looks like I have to update IndexOptions but when I look at the
>httpd.conf on my raq3 I don't see anything about indexing except for the
>foillowing line that lists names of files to use as root default display
>files:
Hi there is a couple of ways if its just one site make a .htaccess file in
the
web directory with
Options -Indexes
To turn them on its
Options +Indexes
If its server wide then edit the
/etc/httpd/conf/access.conf and find the line
Options FollowSymLinks Includes MultiViews etc and remove Indexs
Restart apache /etc/rc.d/init.d/httpd restart
_________________________
I did it the 2nd way, server-wide, and this worked perfectly. Thanks!