mod_security2

tincboy

Verified User
Joined
Aug 14, 2009
Messages
126
We are in real need of installing mod_security on our server,
But it seems compiling mod_security will require httpd-devel to be installed and directadmin add this package to exclude list of yum,
Do DA and mod_security has conflicts?
What's the straight forward way on installing mod_security2 on directadmin based server?
 
Thanks for your usefull tip,
But I need to do it independetly, I don't want to download some unknown script from a third party website,
As many other control panels have built in support for mod_security, why we can't install mod_security on DA via simply compiling it's source?
 
Last edited:
So do it independently if you've enough skills. I don't understand, why do you ask it then here? You're free to install it however you want it. Presuming you don't know how to install, I gave you a link, if you don't like the suggested script, you'd better follow official documentation which comes with the module. As for httpd-devel, there is already installed all necessary things on directadmin powered server to install manually all needed extra modules.
 
I've asked it because of issue with httpd-devel
I got many errors while compiling it from source, searched about those errors and every one suggested these errors are because httpd-devel is not installed, trying to install it fails because it's excluded in yum by DA,
Did any one have compile mod_security2 on DA without installing httpd-devel?
 
And what exact errors did you get?

I've just compiled mod_security2 from sources on one of servers. That is what I did:

Code:
cd /usr/local/src
wget http://www.modsecurity.org/download/modsecurity-apache_2.6.2.tar.gz
tar -zxvf modsecurity-apache_2.6.2.tar.gz
cd modsecurity-apache_2.6.2
./configure  --with-apxs=/usr/sbin/apxs
make && make install

Additionally I've installed

Code:
yum -y install expat expat-devel

as I got an error related to expat.

http://sourceforge.net/apps/mediawiki/mod-security/index.php?title=FAQ
 
Back
Top