iTP Secure WebServer System Administrators Guide (Version 7.5+)

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 theMIME 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.
If there are multiple items in the extension-list, use blanks to separate the items.
NOTE: The mapping of extensions to MIME types in the configuration file that comes with your
server is in lowercase. Therefore an extension expressed in uppercase, such as .HTML, will be
processed as text unless you explicitly map the uppercase extension to the correct MIME type.
Use these MIME types to enable special server features:
application/x-imagemap
This MIME type specifies that the server process the file as an image map.
application/x-httpd-guardian
This MIME type specifies that the server process the file as a CGI program.
You can set as many MimeType directives as you need to specify the type information for all the
file types on your server. MimeType directives for many common file extensions are supplied with
the server in the file conf/mime-types.config.
For a complete list of MIME types supported by the iTP Secure WebServer, See “Server MIME
Types” (page 143). For more information about MIME types, see “Bibliography” (page 285).
Default
If there is no matching MIME file for a requested file, the server returns the default MIME type
specified by the DefaultType directive.
Negotiation
Syntax
Negotiation { None | Lang | Mult }
224 Configuration Directives