Working with mime entry properties

You can use virtual host properties files to create or change mime entry properties.

Before you begin

Determine the changes that you want to make to your mime entry configuration.

Start the wsadmin scripting tool. To start wsadmin using the Jython language, run the wsadmin -lang jython command from the bin directory of the server profile.

About this task

Using a virtual host properties file, you can create, modify, or delete a mime entry. Run administrative commands using wsadmin to configure or delete a mime entry.

Table 1. Actions for mime entry properties. You can create, modify, and delete mime entry properties.
Action Procedure
create Set properties and then run the applyConfigProperties command.
modify Edit the properties and then run the applyConfigProperties command.
delete Specify the mime entries to delete in the Properties section and then run the deleteConfigProperties command.

Optionally, you can use interactive mode with the commands:

AdminTask.command_name('-interactive')

Procedure

Results

You can use the properties file to configure and manage the mime entry.

What to do next

Save the changes to your configuration.


Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:30
File name: txml_config_prop_vhost_mime.html