Re: How to rewrite with cookie

2013-08-12 Thread Bob S.
I agree. That is not the right way to design a website. What about portable website development anyway? Lean website design works for me and the websites that we design look great on virtually any interface. They are not gaudy though and do not feature a bunch of flashy details. Lean and clean.

Re: How to rewrite with cookie

2013-08-12 Thread Jonathan Matthews
On 12 Aug 2013 19:52, "Rodrigo Serra Inacio" wrote: > > Hi, > What do you think is more efficient...cookies or redirect by the user agent ? If you do it based on UA *at*the*network*border* you'll block mobile users from switching to your desktop site if they really want to. I /hate/ sites that do

Re: How to rewrite with cookie

2013-08-12 Thread Rodrigo Serra Inacio
Hi, What do you think is more efficient...cookies or redirect by the user agent ? Thank you 2013/8/12 Adie Nurahmadie > 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://w

Re: How to rewrite with cookie

2013-08-12 Thread Adie Nurahmadie
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 wrote: > Hi, it's possible to r

How to rewrite with cookie

2013-08-12 Thread Rodrigo Serra Inacio
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