You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/15 02:03:18 UTC

[Httpd Wiki] Update of "Recipes/DirectoryListings" by RichBowen

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by RichBowen:
http://wiki.apache.org/httpd/Recipes/DirectoryListings

The comment on the change is:
IndexOptions ShowForbidden

------------------------------------------------------------------------------
  IndexIgnore tmp* ..
  }}}
  
+ === Some files aren't listed ===
+ 
+ When a directory listing is produced, certain files will not be shown, by default. Files and directories that have access restrictions placed on them, either by password or by address, will not be shown in a directory listing.
+ 
+ If you want these files to be listed, you will need to set {{{IndexOptions ShowForbidden}}} in the directory block in question. The {{{ShowForbidden}}} setting is only available in 2.2 and later.
+ 
  === Headers and Footers ===
  
  The directives [http://httpd.apache.org/docs/trunk/mod/mod_autoindex.html#headername HeaderName] and [http://httpd.apache.org/docs/trunk/mod/mod_autoindex.html#readmename ReadmeName] configure a file to be included, respectively, above and below the file listing.  If no path is given, Apache will look for these files in the directory being listed.  For example: