Get the latest mod_parmguard archive and expand it under
a directory (for example /usr/local/) with the commands
# cd /usr/local
# tar xvfz mod_parmguard-1.1.tar.gz
# cd mod_parmguard-1.1
Run ./configure with at least one of these options:
--with-apxs=[path to apxs] (for Apache 1.x) or
--with-apxs2=[path to apxs] (for Apache 2.x)
If the include files for the libxml2 library are not installed in one of
the standard directories, you must add the following directives:
--with-libxml2dir=[dir] (default=/usr/include/libxml2)
Example:
./configure \
--with-libxml2dir=/usr/local/include/libxml2 \
--with-apxs=/usr/sbin/apxs
Add the following directives in the Apache Server Configuration File:
# for Apache 1.x:
LoadModule parmguard_module modules/mod_parmguard.so
AddModule mod_parmguard.c
# for Apache 2.x:
LoadModule parmguard_module libexec/mod_parmguard.so