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.
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