686 questions
2 votes
1 answer
331 views
Is there a list of IANA time zone to ISO Country Code and Region Code mappings?
Im looking to map IANA time zones to ISO country codes + region codes (where applicable). Is there some resource that has this mapping available for consumption? A c# package would be fantastic I saw ...
1 vote
0 answers
263 views
GeoLite2 Country: CSV Format permalink - always returns Invalid license key, all other pemalinks work fine
looking for some help... I cannot download the GeoLite2 Country: CSV Format from Maxmind using the permalink. All of the other Geolite2 files using the permalinks and a valid key work fine. I followed ...
0 votes
1 answer
608 views
Logstash does not ingest GeoIP data to Elastic Search
I am new to ELK and I have deployed Elastic and Kibana on K8s, I would like to monitor an standalone Nginx server which is running in a standalone Ubuntu server, I have installed the filebeat and ...
0 votes
0 answers
211 views
Apache geoip not show country
apache2ctl -t -D DUMP_MODULES geoip_module (shared) libapache2-mod-geoip is already the newest version (1.2.10-1). <IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile /usr/share/GeoIP/...
0 votes
1 answer
2k views
Apache 2.4 GeoIP Country Block Issue while using geoip/maxminddb modules
We recently migrated my Apache server from 2.2 to 2.4. We now trying to block traffic from specific countries using MaxMindDB and GeoIP. We have tried using the old geoip modules and configuration, as ...
2 votes
0 answers
167 views
GeoIp-lite returning null
I have my replit project to get country by ip but lookup(ip) dont work Logs My code is app.get('/ip/locstion/get/', (req, res) => { const ip = req.headers['x-forwarded-for'] || req.connection....
0 votes
0 answers
316 views
Correct rewrite rule for Cloudways geoIP
I have a wordpress site that needs to be accessible by only UK, EU & US users. I'm hoping to do this using Cloudways geoIP so I can avoid having to use a plugin (as they run into caching usage ...
0 votes
2 answers
915 views
PHP 8.1 - Laravel - Geoip find timezone by country and region
I want to find the timezone with the country and region using geoip_time_zone_by_country_and_region() but seems it needs geoip ext to be installed which is not supported anymore and seems geoip2 just ...
0 votes
1 answer
379 views
Install geoip2 python library for Odoo 15 on Kubernetes
Hi I have installed Odoo 15 on Kubernetes (using Bitnami chart) and I would like to use the geoip database functionality. To do so, I need to install the geoip2 python library in my Odoo containers ...
1 vote
1 answer
576 views
Codeigniter | Class 'GeoIp2\Database\Reader' not found
I fallow to this guide: https://stackoverflow.com/a/34185462/20508390 First I install via composer this library: https://github.com/maxmind/GeoIP2-php Now I see vendor folder in codeigniter ...
1 vote
1 answer
4k views
Install PECL GeoIP for PHP 8.1 ubuntu 22
I'm trying to use PHP's PECL functions for geoip such as geoip_country_code_by_name(). This obviously needs the Pecl geoip extension. However, on Ubuntu 22 and for PHP 8.1, this extension doesn't work....
0 votes
1 answer
300 views
Error converting IP number to IP address from ip2location database?
I have downloaded ip2location database in csv format and reading 1st column data and converting IP number into IP address using below code as suggested in ip2location FAQ. Sample CSV Data: function ...
0 votes
1 answer
733 views
Country based cloudflare caching
I have a website that shows different content depending on the user country, but I faced an issue with Cloudflare enabled, which caches full page output and returns wrongly for other countries. Tried ...
0 votes
1 answer
419 views
Python version error when running the Splunk TA-geoip2 app
I am using Splunk 8+ and Python 3.6. I am trying to run this https://github.com/0x616c6578/TA-geoip2 plugin. I get this error message when I look into search.log and try to run the Python command in ...
0 votes
1 answer
283 views
Htaccess redirection not working, server error
I am facing a problem 500 server error, I try to redirect the user to a different URL depending on his country of origin using the .htaccess file and GEOIP, I use Codeigniter 3. Error 500 : Is [Fri ...