mimetypes.ini, contains mime types used in response to client.
Syntax
extension = mime_type&icon&type
extension
|
the file extension, .extension, the resource must match in
order for the associated MIME to be used.
* is the default MIME type to use when none of the defined file
extensions match.
|
icon
|
the URL to the image used by FileServlet when listing directories.
/images/unknown.gif is the default.
Normally relative url in /images.
Images are located in doc_root/images directory.
|
mime_type
|
the MIME type to associate with the file extension.
|
type
|
the short text description used by FileServlet when listing directories.
%extension% File is the default.
Can contain literal text and the following variables:
%extension% for file extension.
|
Notes
A mime type is an association between a resources extension and MIME type.
A files MIME, Multipurpose Internet Mail Extension, type is a Web protocol
for defining a files type.
Changes made to configuration files will not be used until the server is
restarted.
If an icon is not specified then the icon specified for the default mimetype,
* will be used by FileServlet when listing directories.
If a type is not specified then the type specified for the default mimetype,
* will be used by FileServlet when listing directories.
Example
* = application/octet-stream&/images/unknown.gif&%extension% File
.htm = text/html&/images/form.gif
.html = text/html&/images/form.gif
|