VirtualHost

This type is a class for model objects.

Configuration for enabling a single host machine to resemble multiple host machines. Resources associated with one virtual host cannot share data with resources associated with another virtual host, even if the virtual hosts share the same physical machine.

Each virtual host has a logical name and a list of one or more DNS aliases by which it is known. A DNS alias is the TCP/IP host name and port number used to request a Web module resource (such as a servlet, JSP file, or HTML page). For example, it is the "myhost:80" portion of a client request for http://myhost:80/servlet/snoop. When a client request is made, the server name and port number are compared to a list of all known aliases in an effort to locate the correct virtual host and serve the requested resource.

Package: host

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *



Attributes Summary
name : EString A logical name used for configuring Web applications to a particular host name. The default virtual host is typically suitable for most simple configurations.
mimeTypes : MimeEntry * A collection of mime type extension mappings defined for the virtual host. If mime entries are not specified at the web app level, these mime entries will apply.
aliases : HostAlias * The list of one or more DNS aliases by which the virtual host is known.



Attribute Details

name  -  A logical name used for configuring Web applications to a particular host name. The default virtual host is typically suitable for most simple configurations.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mimeTypes  -  A collection of mime type extension mappings defined for the virtual host. If mime entries are not specified at the web app level, these mime entries will apply.
    Reference Type: MimeEntry *
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  0
    Upper bound:  Unbounded
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

aliases  -  The list of one or more DNS aliases by which the virtual host is known.
    Reference Type: HostAlias *
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  0
    Upper bound:  Unbounded
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006