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

Re: [cobalt-users] Disabling directory browsing on Raq3



> > 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>

I'm glad this one showed up again, because I meant to write back and say
Thanks! to whomever posted the instructions (went something like this):
Go into your srm.conf file and where it says
Options Indexes, blah blah blah
-just take out the word 'Indexes'.

I had been wondering how to do that, and it worked great! *Except* for the
site of mine that is maintained with FrontPage.  I haven't yet checked any
clients' sites who I know use FrontPage, but I'd suspect it's the same.
Now I just have to get around to putting up those 'unauthorized access'
error pages in my root directories, and figure out why FrontPage sites
aren't doing what big brother srm.conf tells them to.  :)

Carrie Bartkowiak