Questions tagged [geoip]
84 questions
0
votes
2 answers
How should I add GeoIP module to nginx?
I'm using nginx version 1.8 on a centos 6.7 server but when using nginx -V command , I can't see geoip_module there . How can I add it to nginx ?

movi ran
- 1
- 2
- 2
- 3
0
votes
0 answers
GeoIP module (mod_geoip2) and Amazon EC2 Ubuntu instance
I have installed GeoIP mod via http://dev.maxmind.com/geoip/legacy/mod_geoip2/ and have made sure the permissions are correct for www-data to read the database. We are just needing to block a directory from Great Britain due to the nature of the…

Whsperz
- 1
0
votes
1 answer
Varnish GeoIP (vmod_geoip) + Amazon Linux
I'm trying to install vmod_geoip via amazon linux, but so far no luck.
I've installed geoip geoip-devel. I've downloaded the vmod_geoip source. I'm able to ./autogen.sh but ./configure constantly halts at:
No package 'geoip' found
Consider…

Michael Mikhjian
- 185
- 1
- 1
- 12
0
votes
0 answers
IPTABLES and GEOIP: Show Custom Webpage to Blocked Visitors
Because of legal protection, as a first stage of launching my project I will focus on couple of countries only. The number of supported countries will grow.
I know, it is possible to block or allow whole countries through iptables and geoip.…

Bunkai.Satori
- 117
- 2
- 10
0
votes
1 answer
Configure IIS to only server certain files to requests originating in the US?
The transfer of encrypted data or encryption systems from the US to foreign nations is tricky business as encryption can be categorized as a munition and can be governed by US export laws.
I plan to be starting a website that will contain multiple…

Corey Ogburn
- 290
- 1
- 3
- 13
0
votes
1 answer
Nginx block specific directory to one country
I'm using Nginx and GeoIP to block certain countries (to the whole site).
Is it possible to block just one specific directory?
This way:
www.domain.com/ Everyone can access www.domain.com/ES
Only spanish IP's can access, no one else.…

Filipe YaBa Polido
- 506
- 5
- 16
0
votes
1 answer
I can compile GeoIP support into uWSGI or Nginx. What's the difference?
I'm running uWSGI with PHP and Python support through Nginx. All of this is compiled from source. I want GeoIP support.
Both Nginx and uWSGI can be compiled with their own GeoIP plugins/modules. Are there any practical differences between the two I…
0
votes
1 answer
apache 2.2 and http auth. by country with mod_geoip
I'm using mod_geoip for filtr some traffic. So now I have e.g. this
SetEnvIf GEOIP_COUNTRY_CODE FR AllowCountry
Deny from all
Allow from env=AllowCountry

Pavel
- 417
- 1
- 7
- 17
0
votes
4 answers
IP address and geolocation
I very well know that this has been asked quite a number of times here itself but folks please give this question a read. Plus I'm giving my best to phrase this question, hence the Prelude/Question sections.
Prelude:
GeoIP databases pre-built…

user492160
- 139
- 1
- 3
- 11
0
votes
1 answer
Nginx redirect and geolocalization
I've the following problem with Nginx and GeoIP and will be nice if you can give me some pointers about the solution.
Note: I know this can be solved on DNS side, but that won't be possible by now so I'm looking for other solution.
The problem
My…

boris quiroz
- 1,160
- 1
- 7
- 18
0
votes
2 answers
Anyway to backup nginx before recompiling?
I am looking to install the HttpGeoipModule for NGINX but learning I have to recompile the entire thing from source in order to do so. I have a new Media Temple DV 4.0 server and that comes with nginx v 1.3.0 stock and have never had to recompile…

JM4
- 1,144
- 3
- 18
- 29
0
votes
1 answer
Geo IP Apache module reliability
I'm looking for some simple way to determine the country a user is viewing the site from, it's only a branding issue and not a legality issue, so a few false positives won't matter so much.
Apaches mod_geoip seems to be just what I'm looking for but…

Paystey
- 103
- 4
0
votes
2 answers
Installing GeoIP on Redhat x86_64 es5 with no success?
I am trying to install GeoIP on my Redhat x86_64 es5 but im getting errors. The packages im trying to install is:
GeoIP-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm
GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm
And I get this warning: "warning:…

Peter Johansson
- 377
- 1
- 6
- 8
0
votes
1 answer
Apache geoip not work: PHP Fatal error: Uncaught Error: Undefined constant "HTTP_X_FORWARDED_FOR"
testgeoip.php
What is my IP address - determine or retrieve my IP address

dr.ipkins
- 1
- 1
0
votes
0 answers
GeoIP-specifing nginx redirect for multiple servers
I need redirection based on country code I get from GeoIP (ngx_http_geoip2_module), but as I see, I can't use map because I need different conditions and destination URLs for different server directives (server names).
Is there any way to do…