Book HomeWebmaster in a Nutshell, 3rd EditionSearch this book

19.13. mod_dir

The mod_dir module assists in locating various URL addresses that resolve to a directory or begin with a trailing slash.

DirectoryIndex

DirectoryIndex url ...

[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.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.