Installing and Configuring HP WebQoS Peak on Linux

Chapter 3 17
HP WebQoS Peak on Linux for the Apache Web Server
Integrating HP WebQoS Peak on Linux with the Apache Web Server
Scenario 2: The Apache server is not yet installed on
the system.
Note that this scenario does not apply if you installed from Red Hat.
1. Download and unpack the Apache distribution archive from:
http://www.apache.org.
2. Create the directory hpac in
apache_dist
/src/modules, then find the
file mod_hpac.so in /opt/webqos/lib. Copy this file to:
apache_dist
/src/modules/hpac.
3. Edit the file
apache_dist
/src/Configuration.tmpl and add the
following line at the end of the file:
AddModule modules/hpac/mod_hpac.o
4. Follow the instructions for building and installing the Apache server,
as described in the Apache documentation (for example, run
configure, make, and make install). In particular, make sure that
you enable the hpac module as a shared module. For example, run
configure with the options:
--enable-module=hpac
--enable-shared=hpac
5. Edit the configuration file
apache_home
/conf/. Add the following
line:
Alias /hpac/ /opt/webqos/html/
6. Restart the Apache server, so that the changes will take effect. Before
restarting the server, it is recommended that you read the next
section.