|
|
|
NAME
| delete-mime - removes the MIME type |
SYNOPSIS
| delete-mime --user admin_user[ --password admin_password ][ --host localhost ]
[ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --instance instance_name ]mime_ID |
|
Removes the MIME types associated with the named server instance. The server determines the MIME type of a requested resource by invoking the type-by-extension directive in the ObjectType section of the obj.conf file. The type-by-extension function does not
work if no MIME element has been defined in the server element.
|
|
- --user
- administrative user associated for the instance.
- --password
- administrative password corresponding to the administrative user.
- --host
- host name of the machine hosting the administrative instance.
- --port
- administrative port number associated with the administrative host.
- --passwordfile
- file containing passwords appropriate for the command (e.g., administrative instance).
- --secure
- if true, uses SSL/TLS to communicate with the administrative instance.
- --instance
- name of the instance.
|
|
-
mime_id
- internal name for the MIME types listing. It is used in a virtual-server element to define the MIME types used by the virtual server.
|
| Example 1. Using delete-mime
|
|
asadmin> delete-mime --user admin --password adminadmin --host fuyako --port 7070 --instance server1 sampleMIME
Deleted Mime with id = sampleMIME
|
Where: sampleMIME is the name of the MIME deleted.
|
|
|
- 0
- command executed successfully
- 1
- error in executing the command
|
|
HTTP Server node, MIME Type Files page
|
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|