Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Cities names in rulesets #42

Open
nmr50 opened this issue Jun 22, 2019 · 0 comments
Open

Feature request: Cities names in rulesets #42

nmr50 opened this issue Jun 22, 2019 · 0 comments

Comments

@nmr50
Copy link

nmr50 commented Jun 22, 2019

Hello dear author !

Could you please add feature to use SECOND database on MaxMind - named as CITY ?
What I am talking about. As you surely know Russia is a BIG country, and sometimes I need to specify what cities/region should have access to specific page or not.

For example, CITY database (in .csv) has such record - 524894,en,EU,Europe,RU,Russia,MOW,Moscow,,,,,Europe/Moscow,0
So I can use "RU-MOW" to specify access only from Russia, Moscow, and its nearest small cities.
Or
498817,en,EU,Europe,RU,Russia,SPE,St.-Petersburg,,,"St Petersburg",,Europe/Moscow,0
I can use "RU-SPE" to access only from Russia, St.-Petersburg, and its nearest small cities...

Maxmind CITY db is located here:
https://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip
https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

Thanks in advance !

@nmr50 nmr50 changed the title Features request: Cities on ruleset Feature request: Cities names in rulesets Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant