[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: "Gerald Waugh" <gerald@xxxxxxxxx>
- Date: Sun Dec 2 04:37:01 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
>
when you make changes to apache conf files, you should really use
/etc/rc.d/init.d/httpd reload
This will do a graceful restart.
Gerald