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

Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-30
MimeType
You can set as many Message directives as you need. If you set more than one
Message directive for the same message ID, the server uses the last directive
encountered.
Default
The server has built-in defaults for all server messages.
Example
Message error-forbidden {
<TITLE>Access Denied</TITLE><H1>Access Denied</H1>
You have been denied access.
}
Message error-shortredirect {
<TITLE>Redirection</TITLE><H1>Redirection</H1>
This document can be found <A HREF=\"$url\">elsewhere.</A>
<P>Your browser does not properly support long URLs.
}
MimeType
Syntax
MimeType mime-type extension-list
Description
Use the MimeType directive to specify the MIME type that is to be returned to a web
client that requests a file whose extension matches an extension in extension-list.
The returned MIME type informs the web client of the type of the data in the requested
file (for example, text, audio, video, or image). The web client then can present the data
correctly, for example, as audio.
For example, if the server configuration file (httpd.config) contains the directive
MimeType image/gif gif
any URL that refers to a file with .gif as its extension causes the server to return a
MIME type of image/gif with the requested file.
error-security-retry The HTML text returned when the web client didn't use the
right security options for the request.
Default text:
The cryptographic enhancements on the
request were insufficient. Please try
again with appropriate options.
Table A-4. Server Access Errors (page 3 of 3)
Message ID Description