Sun Java System Web Server 7.0 Update 4 Administrator's Guide

ProcedureTo Change the Default MIME Type

  1. Click the Configurations tab and select the configuration needed.

  2. Click the Virtual Servers tab to get the list of configured virtual servers for the selected configuration.

  3. Click Content Handling > General tab.

  4. Change Default MIME Type value under Miscellaneous section

    Note –

    Using CLI

    To create a MIME type through CLI, execute the following command.

    wadm> create-mime-type --user=admin --password-file=admin.pwd --host=serverhost 
    --port=8989 --config=config1 --extensions=sxc application/sxc

    See CLI Reference, create-mime-type(1).

    You need not create a separate MIME types file for each virtual server. Instead, you can create as many MIME types files as you require and associate them with a virtual server. By default, one MIME types file (mime.types) exists on the server and cannot be deleted.