View Source

                                                                                                                                                                                                                                                                                                                                      *Back to [[Book|Administrator's Configuration File Reference#cfr]]     [[Topic|Administrator's Configuration File Reference#chap8]]*
h2. 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}}|ObjectType].

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact