Mobile redirect question

2011-03-29 Thread Maikel - Songteksten.nl
Hi, I'm using currently the following code to do a mobile site redirect. I found it somewhere on the internet. if ( req.http.user-agent ~

Re: Mobile redirect question

2011-03-29 Thread Bjørn Ruberg
On 29. mars 2011 14:56, Maikel - Songteksten.nl wrote: Hi, I'm using currently the following code to do a mobile site redirect. I found it somewhere on the internet. if ( req.http.user-agent ~

Re: Mobile redirect question

2011-03-29 Thread Maikel - Songteksten.nl
The redirect looks like this: sub vcl_error { if (obj.status == 750) { set obj.http.Location = obj.response; set obj.status = 302; return(deliver); } } Maikel On Tue, 2011-03-29 at 15:04 +0200, Bjørn Ruberg wrote: On 29. mars 2011 14:56, Maikel -

RE: Mobile redirect question

2011-03-29 Thread Caunter, Stefan
On 29. mars 2011 14:56, Maikel - Songteksten.nl wrote: Hi, I'm using currently the following code to do a mobile site redirect. I found it somewhere on the internet. if ( req.http.user-agent ~ (.*Android.*|.*Blackberry.*|.*BlackBerry.*|.*Blazer.*|.*Ericsson.*|.*ht

Re: Mobile redirect question

2011-03-29 Thread Geoff Simmons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/29/11 02:56 PM, Maikel - Songteksten.nl wrote: if ( req.http.user-agent ~