Welcome! Log In Create A New Profile

Advanced

Re: Handling cities with the same name using the GeoIP module

November 14, 2021 12:54PM
Thank you for your response!

I see. It's weird that I can't use a column that's right there in the database and would uniquely identify any entry.

When I checked the Nginx documentation, I saw this:
"$geoip_region
two-symbol country region code (region, territory, state, province, federal land and the like), for example, ā€œ48ā€, ā€œDCā€."
That should be the "subdivision_1_iso_code" in the database.
Meanwhile, when I logged my activity, I saw the name of the region (subdivision_1_name) in the logs and when I changed to "$geoip_region_name" nothing was logged.
Subject Author Posted

Handling cities with the same name using the GeoIP module

YvorL November 12, 2021 09:21AM

Re: Handling cities with the same name using the GeoIP module

Maxim Dounin November 12, 2021 09:58AM

Re: Handling cities with the same name using the GeoIP module

YvorL November 14, 2021 12:54PM

Re: Handling cities with the same name using the GeoIP module

Maxim Dounin November 14, 2021 04:26PM

Re: Handling cities with the same name using the GeoIP module

YvorL November 15, 2021 08:46AM

Re: Handling cities with the same name using the GeoIP module

Maxim Dounin November 15, 2021 10:14AM

Re: Handling cities with the same name using the GeoIP module

YvorL November 15, 2021 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready