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

RE: [cobalt-users] Stop directory browsing




> > I recently noticed that one of my hosted sites had been
> > registered with
> > lycos. The problem is that lycos searched out all the links
> > to the image direcotries etc.
> > When you follow the link you can merily browse the
> > directory they're held in. Is there any way to prevent
> > this? Thought of
> > making sure there is a index.html file in every directory but am
> > not sure if that will be sufficient
>

Hi,


Yes..you can do it server wide. Then if you wish to allow it for a specific directory, you may turn it on specifically for that directory.

This is for RaQ2 so you may need a different path on whatever machine you have.

/etc/httpd/conf/access.conf

is the file to change

make a backup first.
I use pico -w access.conf while in the /etc/httpd/conf directory as root.

and look for this not to far into the file:

# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".

# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.

Options SymLinksIfOwnerMatch Includes ExecCGI

Note: I have Indexes turned off. If it is on, the Indexes option will be listed.

edit your file, save and back out of pico. Restart httpd.

HTH,
Diana

Crest Communications, Inc.		diana@xxxxxxxxxxxxx
Beautiful Sunny Florida		http://crestcommunications.com/
352-495-9359, 425-732-9785 fax