iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)

Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-39
Region
Region
Syntax
Region [options] URL-path {
[AddCGI env-var value]
[AllowHost -noexit host-pattern]
[DefaultType mime-type]
[Deny -noexist]
[DenyHost -noexist host-pattern]
[DirectoryIndex]
[DisableCloseNotify]
[EnableIncludes [-restricted] [-nesting level]]
[EncodingType code-type extension-list]
[Filemap [-symlink-disable] [-symlink-owner] prefix path]
[HostMatch pattern pattern]
[IndexFile filename1 filename2...]
[LanguagePreference language-tags]
[LogItem item-name item-value]
[Message message-id text]
[MimeType mime-type extension-list]
[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]
[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 all URLs matching URL-path. For example,
you might wish 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
on page 7-37.