Apache Server configuration support - Prevent directory listing

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > May 2006 > Prevent directory listing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Prevent directory listing
Chapoor

2006-05-20, 1:15 pm

Hi,

How do you do prevent Apache from directoy listing???

I use Apache2, and can not find any good solution for this..

Today I do like this:
* I add an index page in all directories, so no one can access
www.host.com/dir/

Otherwise they could see all files in /dir/ folder.

Please help me!

Thank you.

Davide Bianchi

2006-05-20, 1:15 pm

On 2006-05-20, Chapoor <Chapoor@gmail.com> wrote:
> How do you do prevent Apache from directoy listing???


Using -Indexes in the Options directive for the directory.
Or using that in the DocumentRoot, so it's inherited by all the
other sub directories.

Davide

--
So what is the best way to protect yourself against the ILOVEYOU virus? Install
Linux. If that's not an option, try uninstalling Windows.
-- Geoff Johnson
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com