Hello,
I'm trying to install mod_security on Debian Sarge but i keep getting some error messages.
this is what i have done so far:
wget http://www.modsecurity.org/download/modsecurity-apache-1.9.tar.gz
tar zxvf modsecurity-apache-1.9.tar.gz
cd modsecurity-apache-1.9/apache1
cp mod_security.c /usr/local/directadmin/customapache/apache_1.3.34/src/modules/extra
nano configure.apache_ssl
in this file i added the following lines:
--activate-module=src/modules/extra/mod_security \
-–enable-module=security
afterwards i did:
./build clean
./build apache_mod_ssl
It gives me the following error:
Configuring for Apache, Version 1.3.34
+ using installation path layout: Apache (config.layout)
+ on-the-fly added and activated frontpage module (modules/extra/mod_frontpage.o)
configure:Error: Module source already has to be below src/modules/ to be activated
./configure:Error: APACI failed
*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file
anyone an idea on how i can solve this?
I'm trying to install mod_security on Debian Sarge but i keep getting some error messages.
this is what i have done so far:
wget http://www.modsecurity.org/download/modsecurity-apache-1.9.tar.gz
tar zxvf modsecurity-apache-1.9.tar.gz
cd modsecurity-apache-1.9/apache1
cp mod_security.c /usr/local/directadmin/customapache/apache_1.3.34/src/modules/extra
nano configure.apache_ssl
in this file i added the following lines:
--activate-module=src/modules/extra/mod_security \
-–enable-module=security
afterwards i did:
./build clean
./build apache_mod_ssl
It gives me the following error:
Configuring for Apache, Version 1.3.34
+ using installation path layout: Apache (config.layout)
+ on-the-fly added and activated frontpage module (modules/extra/mod_frontpage.o)
configure:Error: Module source already has to be below src/modules/ to be activated
./configure:Error: APACI failed
*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file
anyone an idea on how i can solve this?