On Sat, Sep 5, 2015 at 7:06 PM, Parke <parke.ne...@gmail.com> wrote:
> Undocumented, silent failures can be frustrating to diagnose.
>
> Perhaps the mod_autoindex documentation could be improved to include:
> 1) an explicit explanation of mod_autoindex's dependency on mod_dir
> and DirectoryIndex
> 2) a sample, minimal, functioning configuration of mod_autoindex

I think you're mis-observing something here.  The relationship is
exactly the intiutitive relationship as its described at the top of
mod_autoindex:

http://httpd.apache.org/docs/2.4/mod/mod_autoindex.html

Summary

The index of a directory can come from one of two sources:

* A file written by the user, typically called index.html. The
DirectoryIndex directive sets the name of this file. This is
controlled by mod_dir.
* Otherwise, a listing generated by the server. The other directives
control the format of this listing. The AddIcon, AddIconByEncoding and
AddIconByType are used to set a list of icons to display for various
file types; for each file listed, the first icon listed that matches
the file is displayed. These are controlled by mod_autoindex.

-/-

mod_autoindex works without mod_dir loaded and works with mod_dir
loaded as when you request a directory that doesn't have one of the
named DirectoryIndex files. If it's failing for you, it's something
more nuanced (like some other directives changing where the request is
mapped to)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to