Name
DirectoryIndex
Synopsis
DirectoryIndexurl
..
.
[server config, or within
<VirtualHost>
or
<Directory>
or
.htaccess]
Specifies the files that should be
searched for when the client requests a directory with a trailing
slash. All url entries must be local to the
server machine but do not have to be relative to
ServerRoot
. The server uses the first
url entry that is found. If no entry is found,
the server attempts to list the directory.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.