iTP Secure WebServer System Administrators Guide (Version 7.5+)
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” (page 218).
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” (page 211).
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.
MaxPostRequestSize size-in-kilo-bytes
With the MaxPostRequestSize directive, you can configure the maximum allowed Content-Length
for HTTP POST requests. If the Content-Length exceeds this limit, the request is rejected with HTTP
Error 403 FORBIDDEN. The default value is 2097152 kilo bytes (2GB). The maximum value
for size-in-kilo-bytes is 2147483647, which is the maximum value for an integer.
The MaxPostRequestSize command specified within any Region takes precedence over the
global value. You can configure the global value by setting the MaxPostRequestSize directive
outside any Region.
Message message-id text
The Message command associates text (text) with a specific message ( message-id). This
command allows you tocustomize the iTP Secure WebServer messages to accommodate your
particular needs (for example, to conform to a particular language, locale, or application).
The Message command overrides for specified regions any global specifications set for the same
messages by the Message directive. For further information about using the Message directive,
see “Message” (page 222).
The maximum length of the message text is 4K.
MimeType mime-type extension-list
The MimeType command specifies the MIME type identifier (mime-type) to be returned to a
Web client requesting a file whose extension matches an extension listed in extension-list.
The returned MIME type identifies to the Web client the type of the data contained in the requested
files (text, audio, video, image, and so on). The Web client then can interpret the data correctly,
for example, as audio. The items in extension-list are separated by blank spaces.
The default MIME-type extensions specified in the mime-types.config file are lowercase. Therefore,
a file that has the extension .HTML displays as text unless you add HTML as an extension to the
default MimeType directive or command for HTML.
The MimeType command overrides, for specified regions, any global specifications set for the
same items by the MimeType directive. For further information about using the MimeType directive,
see “MimeType” (page 224).
Negotiation {None | Lang | Multi}
Region 237










