in .htaccess
<Limit GET>
DENY ALL
</Limit>
That SHOULD work (untested). It will error out with a 403 (Forbidden).
You can then use a custom error page to redirect users back to the front
page.
--MonMotha
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