iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-42
Region
For example:
Region /cgi-bin/* {
DefaultType application/x-httpd-guardian
}
In this example, the default MIME type for all files in directory /cgi-bin is set to
application/x-httpd-guardian.
Deny [-noexist]
The Deny command returns an “access denied” message to a web client. No
additional commands within the Region directive are evaluated.
If you specify the -noexist option, the Deny command returns a “not found”
message instead of an “access denied” message.
For example, the command in the following directive denies access to any client
making a request for an object below the directory /admin:
Region /admin/* {
Deny
}
DenyHost [-noexist] host-pattern ...
The DenyHost command returns an “access denied” message if a web client’s host
or IP address matches one of the specified host patterns (host-pattern...). If
the web client’s host name or IP address matches, no additional commands within
the directive are evaluated. In specifying a host pattern, you can use the special
matching characters listed in Table A-5
on page A-40.
If you specify the -noexist option, the DenyHost command returns a “not
found” message instead of an “access denied” message.
For example, the following command denies access to all objects on the server for
any hosts from the domain server.org:
Region * {
DenyHost *.server.org
}
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
}