Hitachi

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


2.3.117 QOSResponse

QOSResponse specifies the content to be returned as the response when processing is rejected by the flow control functionality.

Description

QOSResponse specifies the content to be returned with the status code 503 when processing is rejected by the flow control functionality. To change the content, you need to restart the web server because the content is cached in the server process.

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

QOSResponse {file [MIME_type] file_name|message text}

Specifiable values

file

Returns the specified file by using the specified MIME type. If you omit the MIME_type, text/html is set. For file_name, you can specify the absolute path or the relative path from the value specified for the ServerRoot directive.

message

Returns the specified text. For the text, specify a character string that begins with ". text/html is set for the MIME type.

Locations where it can be written

httpsd.conf, <VirtualHost> and <Location>location

Example

QOSResponse file "text/html; charset=ISO-8859-1" htdocs/busy.html
QOSResponse message "Server busy.