iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-012
A-56
Region Commands
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-20.
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.
Message message-id text
The Message command associates text (text) with a specific message
(message-id). This command allows you to customize 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 on page A-34.
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 on page A-37.
Negotiation {None | Lang | Multi}
The Negotiation directive specifies how the iTP Secure WebServer selects from
available representations of a requested page. For example, if the same content is
available in multiple languages, the server can provide the content in the user’s
preferred language. Content negotiation is defined in the HTTP/1.1 specification;
the iTP Secure WebServer supports server-driven content negotiation, as
described in that document.