cPanel

How to get mod_geoip to work on cPanel (Country and City)

mod_geoip allows you to look up a user’s location from their IP Address. It comes in handy when you want to display flags, enable download server location and target specific users First run following commands cd /var/cpanel/easy/apache/custom_opt_modswget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-mod_geoip.tar.gz tar -xvf custom_opt_mod-mod_geoip.tar.gz Run EasyApache via cPanel or via following command /scripts/easyapache mkdir /usr/share/GeoIP/ cd /usr/share/GeoIP/ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gunzip GeoIP.dat.gz

How to get mod_geoip to work on cPanel (Country and City) Read More »