iTP Secure WebServer System Administrators Guide (Version 7.5+)
[Negotiation {None][Lang| Mult}
[NoCache Region]
[NoLog]
[OutputTimeout time-in-seconds]
[Priority priority-increment]
[PutScript CGI-script-location]
[Redirect [status] [-replace /replace-spec] target-url]
[RequiredFileExtension [-noexist] file-extension]
[RequirePassword realm {-userfile userfile | -safeguard}
[RequireSecureTransport]
[ScriptTimeout time-in-seconds]
[SendHeader header]
[SI_Department departmentID -attribute value
[-attribute value ...]]
[SI_RequireSI departmentID group-list]
[UserDir [-symlink-disable [-symlink-owner] user-dir
}
Description
Use the Region directive to control access to your server by path component. The command(s)
you specify are applied to allURLs matching URL-path. For example, you might want to deny
access to a certain region in your server to a certain class of users.
The Region directive allows you to apply the same access control to multiple objects on your
server; for example, all .cgi files.
You can use Tcl variables in Region directives to vary operation according to factors like the time
of day, the Web client host name, or HTTP header information. For more information and examples,
see “Using Tcl Variables” (page 120).
options
The Region directive takes two options:
-host host-addr
Use the -host option to cause a Region directive to be invoked only for
connections received on the IP address associated with host-addr.
-port port-num
Use the -port option to cause a Region directive to be invoked only for
connections received on the port-num.
These options allow you to designate specific regions as virtual hosts. For further information about
using multiple hosts, See “Implementing Multiple-Host Support” (page 123).
URL-path
The URL pattern you specify can contain special characters for matching URL patterns.
These characters are listed in Table 33 (page 233).
Table 33 URL Pattern-Matching Characters
DescriptionMatch Characters
Matches any sequence of characters in string, including
an empty string.
*
Matches any single character in string.?
Matches any character in the set given by chars. If a
sequence of the form x-y appears in chars, and then any
character between x and y, inclusive, will match.
[chars]
Matches the single character x. This method provides a
way of avoiding the special interpretation of the following
characters in pattern: * ? [ ] \
\x
Region 233










