Welcome! Log In Create A New Profile

Advanced

Re: GeoIp local countries

September 07, 2010 11:10AM
Testing in domain.fr vhost file
[code]
if ($geoip_country_code = FR) {
rewrite ^(.*)$ http://domain.de$1 permanent;
break;
}
[/code]
while being in France (to see if geoip rules), I fall in a loop, redirecting to domain.de (so I assume this part is ok), then asking for domain.fr again , etc.

Where am I wrong ?

Tks
Subject Author Posted

GeoIp local countries

soisita September 07, 2010 07:37AM

Re: GeoIp local countries

soisita September 07, 2010 11:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready