Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandslist-mimes(1)


NAME

 list-mimes - gets the MIME types

SYNOPSIS

 list-mimes --user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ]instance_name

DESCRIPTION

 

Gets 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.


OPTIONS

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

OPERANDS

 
instance_name
name of the instance.

EXAMPLES

 Example 1. Using list-mimes
 
 
asadmin> list-mimes --user admin --password adminadmin --host fuyako --port 7070 server1
sampleMIME

Where: sampleMIME is the name of the MIME listed.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

INTERFACE EQUIVALENT

 

HTTP Server node, MIME Type Files page


SEE ALSO

 

create-mime(1), delete-mime(1)



J2EE 1.4 SDKGo To TopLast Changed March 2004