Installing and Configuring HP WebQoS Peak on Linux

16 Chapter3
HP WebQoS Peak on Linux for the Apache Web Server
Integrating HP WebQoS Peak on Linux with the Apache Web Server
Integrating HP WebQoS Peak on Linux with
the Apache Web Server
To integrate the WebQoS Peak 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. If you installed from Red Hat, run the command
/usr/sbin/httpd -l. Otherwise, run the command
apache_home
/bin/httpd -l.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 2 below.
2. If you installed from Red Hat, edit the file
/etc/httpd/httpd.conf. Otherwise, edit the file
apache_home/conf/httpd.conf.
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. If you
installed from Red Hat, add this entry:
LoadModule hpac_module /opt/webqos/lib/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/webqos/html/
3. Restart the Apache server so that the changes will take effect. Before
restarting the server it is recommended that you read “Configuring
WebQoS Peak on Linux for Apache” on page 18.