httpd-users mailing list archives

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

--- rajesh.gannarapu@wipro.com 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
#
http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.

    Options -Indexes FollowSymLinks MultiViews


Jaqui

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message