iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-40
Region
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
on
page 7-40.
URL-path
The URL pattern you specify can contain special characters for matching URL
patterns. These characters are listed in Table A-5.
The pattern-matching mechanism is the same as that used for file-name expansion in
UNIX shells. Table A-6
shows some examples.
Table A-5. URL Pattern-Matching Characters
Match Characters Description
* Matches any sequence of characters in string, including an empty
string.
? Matches any single character in string.
[chars] Matches any character in the set given by chars. If a sequence of
the form x-y appears in chars, then any character between x and y,
inclusive, will match.
\x Matches the single character x. This method provides a way of
avoiding the special interpretation of the following characters in
pattern: * ? [ ] \
Table A-6. URL Pattern-Matching Examples
Match Pattern Description
/admin/* This pattern matches any URL path that begins with the string
/admin/.
*.cgi This pattern matches any URL path that has the extension.cgi.
/images/*.gif This pattern matches any URL path that has the extension.gif in
or under the images directory.