Project

General

Profile

Actions

mod_indexfile

Options

index-file.names

list of files to try when an HTTP request is for a directory
index-file.names = ( "index.php", "index.html" )

If a name begins with a slash (e.g. "/index.php"), the path is relative to the document-root and the same file can be used as an index generator for all directories. If a name does not begin with a slash, the file tried is relative to the directory in the HTTP request.

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. This is necessary for mod_indexfile, and is independent of mod_fastcgi or mod_scgi and configured with "check-local" => "disable")

Updated by gstrauss over 2 years ago · 5 revisions