iTP Secure WebServer System Administrator's Guide (Version 7.0)

Configuration Directives
iTP Secure WebServer System Administrator’s Guide523346-012
A-53
Region Commands
DirectoryIndex
The DirectoryIndex command enables automatic generation of directory
indexes. If a request refers to a directory for which there is no existing index, an
index of the files in the directory is generated automatically.
For example, the command in the following directive enables automatic index
generation for requests for any directories under the directory /personal:
Region /personal/* {
DirectoryIndex
}
DisableCloseNotify
The DisableCloseNotify command prevents the iTP Secure WebServer from
sending a close-notify alert before closing an SSL 3.0 connection.
Use this Region command if your browser is known to hang when it receives
connection termination alerts, and you therefore want to disable such alerts.
By default, close-notify alerts are sent before closing an SSL 3.0 connection.
To use DisableCloseNotify in a Region directive:
Region /* {
if {[info exists HEADER(user-agent)]
&& [string match "*MSIE*" $HEADER(user-agent)]} {
DisableCloseNotify
}
}
EnableIncludes [-restricted] [-nesting level]
The EnableIncludes command permits the full or partial use of server-side
includes (SSIs) on particular regions. For information about setting up SSIs on the
server, see Setting Up a Server-Side Include (SSI) on page 7-51.
The EnableIncludes command accepts the following arguments:
-restricted
Use the -restricted argument to fully enable the use of SSIs on a given
region, including the use of the exec command (see SSI Directives on
page 7-53). If you specify the EnableIncludes command without the
-restricted argument, SSIs are enabled for the given region but the exec
command is disabled.
-nesting level
Use the -nesting argument to specify the number of nesting levels (level)
allowed in a document include. The default is 3, meaning, for example, that
document 1 can include document 2, which can include document 3, which can
include document 4 (four documents, three levels of nesting).