Re: [users@httpd] how to prevent directory listing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- rajesh.gannarapu@xxxxxxxxx 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux