Re: Disable directory listing in apache web server

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

 



You just need to remove Indexes from Options directive. Example:
<Directory>
   Options -Indexes
</Directory>
If you need users to be able to change config you use htacess file. If not i dont see a reason for using one.

On Aug 8, 2012 5:21 PM, "Kaushal Shriyan" <kaushalshriyan@xxxxxxxxx> wrote:
Hi,

What are the best practices followed to disable directory listing. Any
pros and cons using .htacess file or any fool proof method to
implement which takes care of security issues.
Please help me understand.

Regards

Kaushal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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