Web Hosting Talk







View Full Version : Directory Browsing?


sigsys
12-13-2000, 05:28 PM
I noticed today that by default my RAQ3 allows directory browsing (if you go to a directory that does not contain a default.* or index.* page, then it lists all the files in that directory.) Does anyone know how to turn this off? I searched the cobalt page, but without luck. Maybe it is called something different than "directory browsing" in the *nix world.

Thanks in advance,
Johnathan

-Edward-
12-13-2000, 05:47 PM
i did this by accident last night but then un did it if i remember how i did it i'll mail you.

Mike
12-13-2000, 06:51 PM
It's an option called "Indexes".

Search through your httpd.conf, access.conf, and srm.conf (depending on how the server is setup) and you'll see a listing like:

<Directory /blah>
Options Indexes Includes FollowSymLinks ExecCGI
etc..
</Directory>

Remove the "Indexes". If after Options, it says "All", remove the "All" and replace it with the options you'd like to use. When done, restart the webserver, and you shouldn't see directory listings.

webfors
12-13-2000, 10:38 PM
Thanks Mike!!!

I was trying to figure out how to do this today, so I took a break and decided to browse the forum. My entry was in access.conf.

Thanks again! :)