Fix -> Yum install mod_security not working?
Mod security is a web application firewall which protects apache from various types of attacks.
If you are using Centos/RHEL and tried to install mod_security, you may often get
No package found.
Here is how you make it to work.
1. Create a new file /etc/yum.repos.d/utterramblings.repo
2. Place the following lines in that file.
[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Finally,
yum install mod_security
Important:
That should work. If you get 404 error then replace the correct enterprise linux version (4 or 5)
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
to
baseurl=http://www.jasonlitka.com/media/EL5/$basearch/

