VirtualHost

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



 

Attributes Summary

name A logical name used for configuring Webapps to a particular host name.
mimeTypes A collection of mime type extension mappings defined for the virtual host.
aliases The list of one or more DNS aliases by which the virtual host is known.

 

Attribute Details


name

A logical name used for configuring Webapps to a particular host name. The default virtual host is typically suitable for most simple configs.

Data type:   String
Default value:   unspecified



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.

Data type:  MimeEntry



aliases

The list of one or more DNS aliases by which the virtual host is known.

Data type:  HostAlias