Nginx geoip redirect based on country codes but exclude googlebot
hendrik.hardeman at hotmail.com
Thu Nov 18 17:50:56 MSK 2010
> Date: Thu, 18 Nov 2010 06:36:24 -0500
> To: nginx at nginx.org
> From: nginx-forum at nginx.us
> Subject: Re: Nginx geoip redirect based on country codes but exclude googlebot
> Just to confirm, your configuration works fine, i have applied it today,
> still wondering if it would be better to use refferrer or ip ? Any
> suggestions ? Thank you.
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,151401,151657#msg-151657
The GoogleBot header can be faked.See e.g. http://www.zhacks.com/2010/05/06/view-restricted-website-by-cloacking-as-googlebot/
I'd go for the IP range.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx