HP WebQoS Peak for HP-UX Concepts and Operation Guide
48 Chapter5
HP WebQoS Peak for the Apache Web Server
Integrating HP WebQoS with the Apache Web Server
Integrating HP WebQoS with the Apache Web
Server
To integrate the HP WebQoS module with the Apache server, follow the
steps under the scenario that best describes your installation:
Scenario 1: The Apache server is already installed on
the system.
1. Verify that your server has been built with Dynamic Shared Object
(DSO) support.
a. Run the command
apache_home
/sbin/httpd -l or
apache_home
/bin/httpd -l (depending on the layout). The
output should list mod_so.c. This verifies that DSO support is
present.
b. If DSO support is not present, follow the instructions 2 to 4 in
Scenario 2, then continue with step 3 below.
2. Find the file mod_hpac.so for your HP-UX release and Apache
version in /opt/hpac-apache/lib , and copy it to
apache_home
/libexec
3. Edit the file
apache_home
/etc/httpd.conf (or
apache_home
/conf/httpd.conf, if you used the older layout).
a. At the end of the section that contains entries of the form
AddModule xxx_module libexec/mod_xxx.o or LoadModule
xxx_module libexec/mod_xxx.so, add the following entry:
LoadModule hpac_module libexec/mod_hpac.so
b. At the end of the section that contains entries of the form
AddModule mod_xxx.c, add the following entry:
AddModule mod_hpac.c
c. Add the following line:
Alias /hpac/ /opt/hpac-apache/html/
NOTE If you prefer, you can add this line to the srm.conf file. The /hpac/