Sun Java System Web Server 6.1 SP7 Administrator's Configuration File Reference

MIME

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.

Attributes

The following table describes attributes for the MIME element.

Table 2–9 MIME Attributes

Attribute  

Default  

Description  

id

none 

Internal name for the MIME types listing. Used in a VS element to define the MIME types used by the virtual server. The MIME types name cannot begin with a number.

file

none 

The name of a MIME types file. For more information, see Chapter 5, MIME Types.