Sun Java System Web Server 7.0 Administrator's Guide

ProcedureTo Change the Default MIME Type

  1. Select the Configuration.

    Select the configuration from the configurations list. Click Configurations tab to get the available configurations.

  2. Select the Virtual Server.

    Click 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

    For creating 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.