cancel
Showing results for 
Search instead for 
Did you mean: 

mod_security

 
Piotr Kirklewski
Super Advisor

mod_security

Hi there

I'm trying to install mod_security but and I'm following this tutorial:

http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/html-multipage/02-installation.html

It says:

# /bin/apxs -cia mod_security.c

How do I get mod_security.c ?



Best Regards

Peter
Jesus is the King
2 REPLIES
Piotr Kirklewski
Super Advisor

Re: mod_security

cd /usr/local/apache2/modules/

wget http://www.modsecurity.org/download/snapshot/mod_security-snapshot.tar.gz

tar xvf mod_security-snapshot.tar.gz


cd /usr/local/apache2/modules/mod_security/apache2

/usr/local/apache2/bin/apxs -cia /usr/local/apache2/modules/mod_security/apache2/mod_security.c

/etc/init.d/apachectl restart
Jesus is the King
Piotr Kirklewski
Super Advisor

Re: mod_security

closed
Jesus is the King