Apache 1.3 API Documentation

Constant DEFAULT_INDEX

Definition:

Compile-time definition; default defined by #include "httpd.h"
     

Usage example:

env CFLAGS="-Wall -DDEFAULT_INDEX=\"default.html\"" ./configure
     

The value of the DEFAULT_INDEX definition is used by the mod_dir module when no DirectoryIndex directive is in effect. For more information, refer to the mod_dir documentation.

The default value is "index.html". Note that, unlike the DirectoryIndex directive, this definition can only refer to a single document name, not a list of them.

See also:
BIG_SECURITY_HOLE, DEFAULT_ADMIN, DEFAULT_CONTENT_TYPE, DEFAULT_KEEPALIVE, DEFAULT_KEEPALIVE_TIMEOUT, DEFAULT_PATH, DEFAULT_TIMEOUT, DOCUMENT_LOCATION, DYNAMIC_MODULE_LIMIT, HARD_SERVER_LIMIT, HTTPD_ROOT, SECURITY_HOLE_PASS_AUTHORIZATION, TARGET

Previous: DEFAULT_HTTP_PORT Next: DEFAULT_KEEPALIVE

Table of Contents (Routines, Structures, Data Cells, Constants)