Sun Java System Web Server 7.0 Update 7 Administrator's Configuration File Reference

Determining the MIME Type

During the ObjectType stage in the request handling process, the server determines the MIME type attributes of the resource requested by the client. You can use different SAFs to determine the MIME type. The most commonly used SAF is type-by-extension, which tells the server to look up the MIME type according to the requested resource’s file extension in the MIME types table. The MIME types table is stored in a MIME type file. For more information on the format of this file, see MIME Types Syntax.

The directive in obj.conf that tells the server to look up the MIME type according to the extension is:

ObjectType fn=type-by-extension

If the server uses a different SAF, such as force-type to determine the type, the MIME types table is not used for that particular request.

For more details, see ObjectType.