iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-45
Region
In this example, any homepage requests from *.widget.com are redirected to a
special homepage.
IndexFile filename1 filename2 ...
The IndexFile command specifies the file the iTP Secure WebServer is to return
whenever a URL refers to a directory instead of to a specific file. Typically, the
IndexFile command is set to a file that contains an index or other description of
the contents of the directory being referred to by the URL.
The IndexFile command overrides for specified regions any global
specifications set for the same items by the IndexFile directive. For further
information about using the IndexFile directive, see IndexFile
on page A-21.
LanguagePreference language-tags
The LanguagePreference command specifies the natural languages that the
server will favor when making content negotiation decisions for the iTP Secure
WebServer environment or a region. Content negotiation is a protocol feature
defined in the HTTP/1.1 specification.
The server consults this directive only if the configuration file also contains a
Negotiation directive with the Lang or Mult argument, and only if the client sends a
request without an Accept-language header.
The language-tags consist of one or more RFC 2068 language tags, separated
by commas with no intervening spaces. List the tags in order of preference and
enclose the list in braces {}.
To see RFC 2068, use the following URL:
http://www.cis.ohio-state.edu/htbin/rfc/rfc2068.html
The LanguagePreference command overrides for specified regions any global
specifications set for the same items by the LanguagePreference directive. For
further information about the LanguagePreference directive, see
LanguagePreference
on page A-24.
LogItem item-name item-value
The LogItem command causes the value (item-value) associated with a user-
defined log item (item-name) to be written to the extended log file for the current
request. The extended log file can also be activated by using the ExtendedLog
directive. For information about using the ExtendedLog directive, see ExtendedLog
on page A-18.
For example, the command
LogItem reason "Attempt to access from bad referring host"
causes the user-defined log item reason to be recorded, along with the value
"Attempt to access from bad referring host" in the extended log file
for the current request.