sunos man page for asadmin-create-mime

Query: asadmin-create-mime

OS: sunos

Section: 1as

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

asadmin-create-mime(1AS)					   User Commands					  asadmin-create-mime(1AS)

NAME
create-mime - adds the MIME type
SYNOPSIS
create-mime --user admin_user[--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s][--instance instance_name] --mimefile filename mime_ID Adds the MIME type 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. --instance name of the instance. --mimefile name of a MIME types file.
OPERANDS
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 create-mime asadmin> create-mime --user admin --password adminadmin --host fuyako --port 7070 --instance server1 --mimefile mime.types sampleMIME Created Mime with id = sampleMIME Where: sampleMIME is the name of the MIME created.
EXIT STATUS
0 command executed successfully 1 error in executing the command
INTERFACE EQUIVALENT
HTTP Server node, MIME Type Files page asadmin-delete-mime(1AS), asadmin-list-mimes(1AS) J2EE 1.4 SDK March 2004 asadmin-create-mime(1AS)
Related Man Pages
delete-mime(1as) - sunos
restart-instance(1as) - sunos
stop-instance(1as) - sunos
asadmin-restart-instance(1as) - v7
asadmin-stop-instance(1as) - xfree86
Similar Topics in the Unix Linux Community
mimedefang-muliplexor : error
ambigouity on using Mime::Lite?
PHP Mime Type Class 1.0 (Default branch)
Mime Type Detection Utility 1.1.2 (Default branch)
Script to Convert HTML to MIME mail -- HELP!