For licensing reasons, mod_security is no longer in the Debian repositories. To add it there, add the following to /etc/apt/sources.list:
deb http://etc.inittab.org/~agi/debian/libapache-mod-security2/etch ./
Then add the gpg keys with the following commands:
gpg --keyserver pgpkeys.mit.edu --recv-keys C514AF8E4BA401C3
gpg --export -a C514AF8E4BA401C3 | sudo apt-key add -
sudo apt-get update
You can now install mod_security to Apache2 through apt:
apt-get install libapache2-mod-security2
0 comments:
Post a Comment