[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Disabling directory browsing on Raq3
- Subject: Re: [cobalt-users] Disabling directory browsing on Raq3
- From: flash22@xxxxxxx
- Date: Tue Dec 19 13:04:10 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 15 Dec 2000, Steve West wrote:
>
> I'm new to linux/cobalt but was hoping someone can help me figure out how to
> have the cobalt box not show directory content/listings without placing
> "Index.html" files in every directory (which is currently over 150).
>
to do it for a site, put this in a .htaccess file in the web directory
Options -Indexes
you can do it serverwide by changing this setting in the server config
if you have srm.conf you should be able do do it like this:
<Directory /home/sites>
Options -Indexes
</Directory>
Put it near the end ...