HP WebQoS Peak for HP-UX Concepts and Operation Guide
Chapter 4 45
HP WebQoS Peak for the Zeus Web Server
Configuring HP WebQoS for Zeus
plug-in or CGI script, you can allow all mime types to be cached except
for the mime types associated with the application. For example, to cache
all mime types except those generated by CGI scripts, add the following
lines to the configuration file:
mime.nocache
mime.type magnus-internal/cgi
You must restart the web server if you make changes to the configuration
file.
If a page is not cachable, such as a dynamically created page or other
pages marked by NSAPI as uncachable, you cannot cache it even if you
specify it in the configuration file as cachable.
Allowing Equal Access to a System’s Resources
If a web server hosts multiple virtual web sites, HP WebQoS can be
configured to balance traffic between each site, allowing each site to
share the system’s resources equally.
The description or pattern of the web servers’ document roots for each
virtual server must be configured in the
$ZEUSHOME
/ns-config/https-
server_name
/config/hpac/config.ac
configuration file. HP WebQoS uses the isolate.pattern parameter to
monitor each site’s traffic. You must restart the web server after editing
the configuration file.
For example, a system is hosting two web sites for Company A and
Company B. Company A’s home page is located at
/web_pages/company_a/index.html and Company B’s home page is
located at /web_pages/company_b/index.html. To monitor each site’s
traffic, add the following to the configuration file:
isolate.pattern /web_pages/%[^/]
Refer to documentation on the sscanf command for more information on
constructing the pattern.
After editing the configuration file, restart the web server.
Detecting Failed Servers in a Cluster
When a web server is running, it periodically broadcasts a message that
it is up. When a web server is shut down, it broadcasts a message that is
unavailable. When a web server is not running, it does not broadcast a
message.