httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaqui Greenlees <>
Subject Re: [users@httpd] how to prevent directory listing
Date Mon, 03 Jul 2006 06:57:47 GMT

--- wrote:

> Hi,
> How can I prevent directory listings of my server?
> What configurations required at http server and
> tomcat?

Directly from the httpd.conf.orig, the -Indexes turns
off automatic indexing.

<Directory "/var/www/html">

# Possible values for the Options directive are
"None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks
SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly*
--- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and
important.  Please see
# for more information.

    Options -Indexes FollowSymLinks MultiViews


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message