iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—523346-012
7-38
Using Multiple Region Commands
You can enter any number of Region directives in your server’s configuration file.
Therefore, a request might be processed by more than one directive, depending on
how the URL matching patterns in the directives are specified. For example, if the
configuration file contains the Region directives,
Region * {
DirectoryIndex
}
Region /admin/* {
AllowHost *.compedia.com
}
an attempt by a request to access the URL path /admin/ would match the URL
matching pattern in both directives. In this case, the command in each directive would
be applied in the order of their appearance in the configuration file: DirectoryIndex
first, and then AllowHost.