Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.107 ProxyPreserveHost

ProxyPreserveHost specifies whether the value of the Host header received from the client is to be transferred to the backend server.

Description

ProxyPreserveHost specifies whether the value of the Host header received from the client is to be transferred to the backend server, when a reverse proxy is used.

Note that the following modules must be built-in to use a reverse proxy:

Syntax

ProxyPreserveHost {On|Off}

Specifiable values

On

Transfers the value of the Host header received from the client to the backend server

Off

Changes the value of the Host header received from the client according to the value specified in the ProxyPass directive, and then transfers the value to the backend server

Default value

If the definition item is omitted:

Off

Locations where it can be written

httpsd.conf and <VirtualHost>

Example

ProxyPreserveHost On

This example transfers the value of the Host header received from the client to the backend server.