Sun Java System Web Server 6.1 SP11 Administrator's Guide

Configuring Virtual Server MIME Settings

You can set the MIME types file for an individual virtual server. The MIME types file contains the mappings of file extensions to types of files. For example, the MIME types file is where you can specify that all files ending .cgi be treated as CGI files.

You do not need to create a separate MIME types file for each virtual server or virtual server class. Instead, you create as many MIME types files as you need and associate them with a virtual server. One MIME types file, mime.types, exists by default on the server. To create new MIME types files, or to edit the definitions in a MIME Types file, see Choosing MIME Types.

To set the MIME types file for a specific virtual server, follow these steps

ProcedureTo set the MIME types file for a specific virtual serve

  1. From the Class Manager, click the Virtual Servers tab.

  2. Click MIME Settings.

  3. Choose a MIME types file from the drop-down list next to the virtual server.

  4. Click OK.