Apache2::GeoIP - Look up country by IP Address
Free monthly updates to the database are available from
http://www.maxmind.com/download/geoip/database/
This free database is similar to the database contained in IP::Country, as well as many paid databases. It uses ARIN, RIPE, APNIC, and LACNIC whois to obtain the IP->Country mappings.
For Win32 users, the GeoIP.dat database file is expected to reside in the /Program Files/GeoIP/ directory.
If you require greater accuracy, MaxMind offers a Premium database on a paid subscription basis.
A mailing list and cvs access for the GeoIP library are available from SourceForge; see http://sourceforge.net/projects/geoip/.
Apache2::Geo::IP and Apache2::Geo::Mirror.
The look-up code for associating a country with an IP address is based on the GeoIP library and the Geo::IP Perl module, and is Copyright (c) 2002, T.J. Mather, tjmather@tjmather.com, New York, NY, USA. See http://www.maxmind.com/ for details. The mod_perl interface is Copyright (c) 2002, Randy Kobes <randy@theoryx5.uwinnipeg.ca>.
All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Apache::GeoIP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::GeoIP
CPAN shell
perl -MCPAN -e shell install Apache::GeoIP
For more information on module installation, please visit the detailed CPAN module installation guide.