How to rewrite with cookie
Adie Nurahmadie
nurahmadie at gmail.com
Mon Aug 12 15:09:57 UTC 2013
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
http://wiki.nginx.org/HttpCoreModule#.24cookie_COOKIE
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 ?
> Thanks.
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
regards,
Nurahmadie
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130812/6a5450d4/attachment.html>
More information about the nginx
mailing list