iTP Secure WebServer System Administrator's Guide (Version 7.0)

Configuration Directives
iTP Secure WebServer System Administrator’s Guide523346-012
A-37
Default
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.
If there are multiple items in the extension-list, use blanks to separate the items.
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.
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.