Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

MIME Types

A Multi-purpose Internet Mail Extension (MIME) type is a standard for multimedia e-mail and messaging. So that you can filter files depending on their MIME type, the proxy server provides a page that lets you create new MIME types for use with your server. The proxy adds the new types to the mime.types file. For more information on blocking files based on MIME types, see Filtering by MIME Type.

This section describes how to create, edit, or remove a MIME type.

Creating a MIME Type

ProcedureTo Create a MIME Type

  1. Access the Server Manager, and click the Preferences tab.

  2. Click the Create/Edit MIME Types link.

    The Create/Edit MIME Types page is displayed showing all the MIME types listed in the proxy’s mime.types file.

  3. Specify the category of the MIME type from the drop-down list. This can be type, enc, or lang. type is the file or application type, enc is the encoding used for compression, and lang is the language encoding.

    For more information on the category, see the online Help.

  4. Specify the content type that will appear in the HTTP header.

  5. Specify the file suffix.

    File Suffix refers to the file extensions that map to the MIME type. To specify more than one extension, separate the entries with a comma. The file extensions should be unique, that is, you should not map one file extension to two MIME types.

  6. Click the New button to add the MIME type.

ProcedureTo Edit a MIME Type

  1. Access the Server Manager, and click the Preferences tab.

  2. Click the Create/Edit MIME Types link.

    The Create/Edit MIME Types page that appears shows all the MIME types listed in the proxy’s mime.types file.

  3. Click the Edit link for the MIME type you want to edit.

  4. Make the desired changes. Click the Change MIME Type button.

ProcedureTo Remove a MIME Type

  1. Access the Server Manager, and click the Preferences tab.

  2. Click the Create/Edit MIME Types link.

    The Create/Edit MIME Types page that appears shows all the MIME types listed in the proxy’s mime.types file.

  3. Click the Remove link for the MIME type you want to remove.