index-file.names option


list of files to search for if a directory is requested

index-file.names   = ( "index.php", "index.html",
                                  "index.htm", "default.htm" )

If a name begins with a slash this file will be used as an index generator for all directories.

Note the target path must exist in the filesystem, or else mod_indexfile will skip it. (In other words, if the target index generator is a CGI path, the path must still exist, even as an empty file, for mod_indexfile even if the target is handled by mod_fastcgi or mod_scgi and configured with "check-local" => "disable")

Updated by gstrauss over 3 years ago · 11 revisions