Directory Listing

topic posted Thu, September 25, 2003 - 12:57 PM by  Philip
Share/Save/Bookmark
Advertisement
What's the name of the attribute inside of httpd.conf that would disable directory listing when there is no index.html page? Did it change from Apache 1.3 to Apache 2.0?
posted by:
Philip
SF Bay Area
Advertisement
Advertisement
  • Unsu...
     

    Re: Directory Listing

    Thu, September 25, 2003 - 2:06 PM
    In the options directive, under the directory container for your dir you want to protect from being seen remove 'Indexes' from 'Options Indexes Whatever Whatever'

    Restart the server. Your directory should not show an autoindex for that directory.

    I'm not sure if the following bracketed text will show here, but it might look like this:


    Options [Indexes removed] FollowSymLinks Multiviews
    AllowOverride None
    Order deny,allow
    Deny from all
    • Unsu...
       

      Re: Directory Listing

      Thu, September 25, 2003 - 2:08 PM
      Yeah the bracketed text was hidden in both examples above. Anyway look for the (bracket)Directory(Endbracket) container, or create one for the dir you want to prottect and set the options mentioned above.

Recent topics in "Apache Web servers"

Topic Author Replies Last Post
New mac dev help needed Jedi 1 August 11, 2007
can you be on call for this server and make some easy cash? Shiraz 0 June 13, 2007
hosting reliability and live support 4 February 10, 2007
mySQL nat 2 November 29, 2006