I think you just need to change the directory permissions. For example, if you don't want people to directly read the contents of a directory, use chmod 0711, or rwx--x--x. Thus users can move into your directory as required by links, but they can't directly list its contents.

-Jeff


S Chouinard wrote:

Hi-

How can I prevent web browsing of directories under Apache, when a directory
(such as "images") has no default html file? I want to use the httpd.conf
file. Hope this is a good place to ask this question. Everything I've tried
so far, either editing httpd.conf or adding a .htaccess file to the
directory, hasn't worked so far. Such a simple thing, so frustrating. The
only thing I've been able to do is add a default (index.html) file to each
of the directories that normally don't have them, and (kindly) redirect the
user to the home page with a link. But I know there's a way to edit
httpd.conf and additionally set up custom error files and accomplish this in
a much simpler way.

Susan

_______________________________________________
LUAU mailing list
[EMAIL PROTECTED]
http://videl.ics.hawaii.edu/mailman/listinfo/luau





Reply via email to