Hitachi

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


2.3.104 ProxyErrorOverride

ProxyErrorOverride specifies whether to overwrite the response from the backend server if the response is an error status code.

Description

ProxyErrorOverride overrides the response header and response body when the backend server returns a 400-series or 500-series status code. As a result, the reverse proxy generates and returns a response to the client, instead of returning the response from the backend server.

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

Syntax

ProxyErrorOverride {On|Off}

Specifiable values

On

Overrides the response header and response body when the backend server returns a 400-series or 500-series status code

Off

Does not override the response header and response body

Default value

If the definition item is omitted:

Off

Locations where it can be written

httpsd.conf and <VirtualHost>

Example

ProxyErrorOverride On

When the backend server returns a 400-series or 500-series status code, a response generated by the reverse proxy is returned to the client.