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" <kaushalshri...@gmail.com> 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-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >