nvserv | nvserv=host -- forwarding to a name based virtual server
specify MOUNTing the target server as a name based virtual hosting server.
The virtual host name to be sent to the server can be specified as
"nvserv=host" or it is the host name part in the rURL by default.
With this option, the target server is MOUNTed only as a virtual server of
the host name while other servers, of alias names of the host
or IP-addresses of the host, are not MOUNTed.
This means that the MOUNT rule will be applied for rewriting of URL in a
HTTP response message only if the hostname of a URL matches textually with
the virtual host name of the target server.
The virtual hostname from the client can be passed through to the server
avserv | avserv=host
-- forwarding to an IP-address based virtual server
notate that the target server is not a name based virtual hosting server.
With this option, all of servers of alias names or IP-addresses of the target
server are MOUNTed by this MOUNT rule.
It has been the default behavior of MOUNT but it can be changed with the
option HTTPCONF="nvserv:auto" to automatically detect
virtual servers in a set of MOUNT parameters.
This "avserv" option could become necessary to notate a non-virtual
server which is automatically guessed as a virtual server.
rserv=host[:port] -- real target server
specify the real host name or IP-address and port number of the target
server toward which the HTTP connection is established.
This option is used to do MOUNT a virtual hosting server of which virtual
host name is specified in the rURL rather than in the
For example, the following two MOUNT rules are equivalent to each other.
MOUNT="/v/* http://www.domain/* rserv=192.168.1.123"
MOUNT="/v/* http://192.168.1.123/* nvserv=www.domain"
Specifying the "rserv" option implies that the target server is a virtual
server as if notated with the "nvserv" option.
(obsoleted by nvserv and rserv options)
Specify the hostname which will be received by the target server
as its virtual hostname.
It is set in the "Host: host" field in the request message to be
forwarded to the server.
When the request is to be forwarded via a HTTP proxy, it is set
in the request URL as http://host/...
The default Host field sent to the server is derived from the
part of the MOUNT parameter which specifies the target server.
For example for MOUNT="/* http://hosti:8080/*", "Host: hosti:8080"
will be forwarded to the server (which is running at the port hosti:8080).
To through pass the Host field in the request from a client to the server,
specify as "genvhost=-thru".