Not sure if this is the best way, but here's what I found works for
compiling mod_security in statically for Apache 2 (I was building Apache
2.0.54 in this case):
> Apache is custom compiled with ModSecurity statically=20
> linked. To do this, I copied the mod_security.c file to the=20
> modules/proxy folder in the extracted source code for Apache,=20
> then added the following flags to configure (for Apache):
> --enable-security --with-module=3Dproxy:mod_security.c
Hope that helps,
Jeff
|