HP WebQoS Peak for HP-UX Concepts and Operation Guide

54 Chapter5
HP WebQoS Peak for the Apache Web Server
Integrating HP WebQoS with the Apache Web Server
gaining access to the server.After the initial rejection, the user is
prevented from returning to the site for a specified amount of time. If a
session is allocated, this is the minimum delay that can be scheduled.
You can set this time interval with the directive
HPACRejectedExclusionTime. The default is “300” seconds. For
example, to specify that the user will have to wait 120 seconds before he
can again try to access the site, use the following directive in your
configuration file:
HPACRejectedExclusionTime 120
Creating an Allocation Page for Rejected Sessions The following
is the default contents of the deferral (allocation) page:
Example 5-2 Server Busy
We are sorry our server is busy, and in order to ensure
adequate levels of service to our current visitors, we cannot
serve you at this time. We have allocated you a position in
line and will serve you as soon as we can.
You will automatically enter the site in mm:ss
(minutes:seconds).
The page has three parts, which can be set independently. The first part
is the title (Server Busy). You can change the title with the
HPACDeferralTitle directive. To set the title to “Site Temporarily
Unavailable,” use the following directive in your configuration file:
HPACDeferralTitle Site Temporarily Unavailable
The second part of the deferral page is an explanatory message, which
can be set with the HPACDeferralMessage directive. An informative
message is likely to span several lines, in which case you have to escape
the newline character on all but the last line. For example,
The third part is the countdown line, which can be set with the
HPACDeferralEnterMsg directive. For example:
HPACDeferralMessage We are sorry, our server is busy. In order \
to ensure adequate levels of service to \
our current visitors, we cannot serve you \
at this time. We have allocated you a \
position in line and will serve you as \
soon as we can.