Webmaster in a Nutshell, Third Edition

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition

By Robert Eckstein, Stephen Spainhour

Table of Contents
Chapter 19.  Apache Modules

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.


Team-Fly    
Top

Категории