nfn
March 31, 2011 06:06PM
Hello,

I'm looking for a way to redirect users from some countries and with a querystring value to a specific page.

I tried this without success:

location /register.php {
if (($geoip_country_code = (BR|PT)) and ($arg_action = "register")) {
rewrite ^(.*) /page/info/registo.html permanent;
}
}

How can I accomplish this?

Thanks
Subject Author Posted

Redirect a user based in country and querystring value

nfn March 31, 2011 06:06PM

Re: Redirect a user based in country and querystring value

nfn March 31, 2011 06:10PM

Re: Redirect a user based in country and querystring value

Igor Sysoev April 01, 2011 02:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
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