How to rewrite with cookie
Rodrigo Serra Inacio
roinacio at gmail.com
Mon Aug 12 18:51:51 UTC 2013
What do you think is more efficient...cookies or redirect by the user agent
2013/8/12 Adie Nurahmadie <nurahmadie at gmail.com>
> yes, it's possible.
> The simplest way is to use if and check either $cookie_XXX or
> $http_user_agent variable.
> You may want to explore nginx's wiki page here
> On Mon, Aug 12, 2013 at 9:11 PM, Rodrigo Serra Inacio <roinacio at gmail.com>wrote:
>> Hi, it's possible to rewrite a mobile URL using cookies?
>> For example, when you acess a URL with a mobile device (android) , nginx
>> shoul read the cookie and redirect this device according to the android
>> model ...
>> Something like this
>> From Samsung Galaxy GTI900 redirect to http://mysite.com/gti900
>> From Samsung Tables I200 redirect to http://mysite.com/i200
>> It's possible ?
>> nginx mailing list
>> nginx at nginx.org
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx