Below you will find pages that utilize the taxonomy term “Location”
Blogs
Enable GeoIP lookups on CentOS
GeoIP enables you to identify the location, organization, connection speed, and user type of your website visitors.
yum install GeoIP mod_geoip<br></br>cd /usr/share/GeoIP/<br></br>wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz<br></br>wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz<br></br>gunzip GeoIP.dat.gz<br></br>gunzip GeoLiteCity.dat.gz<br></br>rm -f *.gz<br></br>
Edit the VirtualHost settings in httpd.conf
<ifmodule mod_geoip.c><br></br>GeoIPEnable On<br></br>GeoIPDBFile /usr/share/GeoIP/GeoIP.dat Standard<br></br>GeoIPDBFile /usr/share/GeoIP/GeoLiteCity.dat Standard<br></br></ifmodule>
Restart Apache
/etc/init.d/httpd restart