Apache 2.0.51 on FC2

William Hooper whooperhsd3 at earthlink.net
Wed Nov 17 03:05:09 UTC 2004


Daniel B. Thurman said:
> Hi folks,
>
>
> I have searched everywhere to for information on how to make all
> of my directories non-browsable by default whereever default indexes do not
> exist.  From what I can tell, I am supposed to either supply empty default
> index files with no content (index.html) or to add a .htaccess file in
> every directory

Another option would be to disable indexing globally in the http.conf. 
Look for the "<Directory "/var/www/html">" section and make sure it has
"Options -Indexes".

-- 
William Hooper




More information about the fedora-list mailing list