[ale] GeoIP

Terry Bailey terry at bitlinx.com
Mon Mar 19 21:11:48 EDT 2007



Hi,

I think that I have Geolite City from MaxMind installed correctly.

The database, GeoIP.dat is in the following directory.

/usr/local/share/GeoIP/GeoIP.dat

And, it looks like the Perl scripts (PurePerl) are installed in

/var/www/html/geo/perl

one of which is

geoip-lookup-city

Can anyone tell me how to access this information from one of my own Perl 
scripts?

I ran

/var/www/html/geo/perl/geoip-lookup-city

and it was trying to find /usr/local/share/GeoIPCity.dat

 From that, it looks like I need other databases besides GeoIP.dat

Thanks,

Terry Bailey




More information about the Ale mailing list