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

Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-002
A-31
Description
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 the following 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
Example 8-1 on page 8-8. For more information about MIME types, refer to the
Bibliography on page -xxx.
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 }
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.