For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

DirectoryIndex

Specify the name of a page to display if a directory is requested.

Synopsis

DirectoryIndex  pagename

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

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: 

DirectoryIndex  index

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Monday 26 June 2006 at 11:56 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us