User Tools

Site Tools


geo_ip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

geo_ip [2009/04/04 07:58]
k2patel
geo_ip [2020/08/10 02:35]
Line 1: Line 1:
-====== Geo IP Help Page ====== 
  
-==== mod_geoip Installation ==== 
-Get c library from maxmind.com 
- 
-compile it and install it. 
- 
-[[http://​www.maxmind.com/​download/​geoip/​api/​mod_geoip | downlaod c library from]] 
- 
-[[http://​www.maxmind.com/​download/​geoip/​database/​GeoIP.dat.gz | download geoip database]] 
- 
-Get mod_GeoIP from maxmid.com 
- 
-install it using following command 
- 
-<code bash> 
-/​srv/​www/​bin/​apxs -i -a -L /​usr/​local/​lib -I /​usr/​local/​include -lGeoIP -c mod_geoip.c 
-</​code>​ 
- 
-add following line to your config 
-<code apache | httpd.conf>​ 
-<​IfModule mod_geoip.c>​ 
-GeoIPEnable On 
-GeoIPDBFile /​srv/​www/​htdocs/​.geoip/​GeoIP.dat 
-</​IfModule>​ 
-</​code>​ 
- 
-restart apache. 
geo_ip.txt ยท Last modified: 2020/08/10 02:35 (external edit)