Welcome! Log In Create A New Profile


geoip rewrite

October 01, 2009 02:41PM
was wondering if someone could help me out with a rewrite rule.
i need to rewrite anyone who comes to the main site (ie. www.test.com) with no request_filename and is from canada to be redirected to a different page.

i got the geoip working just fine

if ($geoip_country_code = 'CA') {


but i can't figure out how to do the combination of the geo and the frontpage only.

any help would be appreciated
Subject Author Posted

geoip rewrite

robv October 01, 2009 02:41PM

Re: geoip rewrite

Daniele Melosi October 07, 2009 09:26AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

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