GeoIP: anyway to pull out lat/lon?

Igor Sysoev is at rambler-co.ru
Tue May 6 19:31:17 MSD 2008


On Tue, May 06, 2008 at 04:06:06PM +0100, Phillip B Oldham wrote:

> I've just got the geo module working, and I've geo2nginx.pl'd the 
> maxmind geolite country data which is working great. However, for our 
> application I need to get more information (specifically a lat/lon) back 
> from nginx to pass to PHP.
> 
> Any way I can do this? Or is the geo module too simple for this task?

The geo module simply maps ip to some string. You may use any strings.
Probably you need to modify geo2nginx.pl to process lat/lon.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list