DirectoryIndex
Specify the name of a page to display if a directory is requested.
Synopsis
The default is blank.
Scope
This directive is only available for use in the local
(catalog.cfg) configuration file.
It will not affect any other website in any way.
This directive will not work in the global
(interchange.cfg) configuration file.
Description
If a directory is requested, this page will be shown, if present in the
directory.
The value of this directive will be appended to the requested path
(with a separating "/", if appropriate).
|
Note
Although the name of this directive was borrowed from the Apache Web Server,
it only accepts one filename.
Apache supports multiple filenames to look for in a sequential order.
Interchange only accepts one filename.
|
Examples
To get the behaviour normally associated with an HTTP server,
where "index.html" is shown when a directory is requested,
use the following: