mod_geoip

How To Install mod_geoip For Apache2 On CentOS 6

How To Install mod_geoip For Apache2 On CentOS 6

This guide explains how to set up mod_geoip with Apache2 on a CentOS 6 system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server to allow geo targeting. 2 Installing mod_geoip Because mod_geoip is not available from the official CentOS repositories, we need to enable the EPEL repository: rpm –import https://fedoraproject.org/static/0608B895.txt wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm rpm -ivh epel-release-6-7.noarch.rpm yum install yum-priorities Edit /etc/yum.repos.d/epel.repo… vi /etc/yum.repos.d/epel.repo … and add the line priority=10 to the [epel] section: [epel] name=Extra Packages for Enterprise Linux […]

Read more