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

RE: [cobalt-developers] Directory Browsing Question.



> How do I turn off directory browsing for the whole server and just allow
> browsing for a few?
>
> I like this feature for some directories on my server yet I need it
> disabled for all others?
>

Brian,

The easiest way would be the following I think

Server wide - change the following line in /etc/httpd/conf/access.conf

Options  Indexes FollowSymLinks Includes MultiViews

remove Indexes

remembering to reload http

Now I think you should be able to use a .htaccess in the areas that you want
to view files to override the system wide config - maybe someone else will
chip in with a .htaccess config that does this as I can't remember how I did
it or which server I did it on.

Regards

Gavin