Hitachi

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


2.3.115 QOSRedirect

QOSRedirect redirects requests rejected by the flow control functionality.

Description

QOSRedirect redirects requests from the client to the specified path when request processing is rejected by the flow control functionality.

Note that the mod_hws_qos module must be built-in to use the flow control functionality.

LoadModule hws_qos modules/mod_hws_qos.so

Syntax

QOSRedirect old_path new_path

Specifiable values

old_path

Specify the request URL path starting with a forward slash (/). Note that, for old_path, you cannot specify the query string after the question mark (?).

If a request is received in old_path, a response is returned with the status code 302 and new_path set in the Location header. You cannot customize the response.

new_path

Specify a URL path that includes protocol_name://host_name[:port_number]. For the URL, you can also specify an IPv6 address or the host name that corresponds to an IPv6 address.

Locations where it can be written

httpsd.conf, <VirtualHost> and <Location>