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

Re: [cobalt-users] RAQ3 how do you disallow index viewing?




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