Defines MIME types.
The most common way that the server determines the MIME type of a requested resource is by invoking the type-by-extension directive in the ObjectType section of the obj.conf file. The type-by-extension function does not work if no MIME element has been defined in the SERVER element.
The following table describes attributes for the MIME element.
Table 2–15 MIME attributes
Attribute |
Default |
Description |
---|---|---|
id |
none |
Internal name for the MIME types listing. The MIME types name cannot begin with a number. |
file |
none |
The name of a MIME types file. For more information, see Chapter 6, MIME Types. |