Name

DirectoryIndex — specify the default page in a directory

SYNOPSIS

filename

DESCRIPTION

Specify the default page to show in a directory.

When the location requested does not exist, and this directive is set, Interchange will try to append the specified filename to the URL, and re-test for the page existence.

This directive sets the default page for all directories except the catalog entry point. (In other words, this directive won't help you make http://myhost.mydomain.local/ show http://myhost.mydomain.local/index.html - see the SpecialPage for that).

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Setting DirectoryIndex

DirectoryIndex index.html

NOTES

Although the name for this directive was borrowed from the Apache Web Server project, it only accepts one filename (unlike Apache which supports multiple filenames to look for in sequential order).

AVAILABILITY

DirectoryIndex is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 570

['DirectoryIndex',   undef,         ''],

AUTHORS

Interchange Development Group

SEE ALSO

SpecialPage(7ic)

DocBook! Interchange!