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/
Similar Posts:
- Easy Install FFmpeg in Linux
- Install ModSecurity for Redhat/Centos
- Fix-> Warning: ereg_replace(): REG_BADRPT in PHP
- Enabling ModRewrite in XAMPP Apache
- [Fix] Ziplib compile error with zziptest.c
- Basic Linux Server Security Tutorial
- HOWTO: Install PEAR for php in Linux
- Install ClamAV in Centos with Cpanel
- How to unzip ZIP files with PHP
- Capturing a Screenshot of a Website

