Re: Q about mobile browser detection

2012-04-10 Thread Morten Gade Sørensen
We use http://wurfl.sourceforge.net/ with great successŠ


Morten




On 10/04/12 07.14, Willy Tarreau w...@1wt.eu wrote:

Hi Aleks,

On Tue, Apr 10, 2012 at 01:22:36AM +0200, Aleksandar Lazic wrote:
 Hi,
 
 have anybody a haproxy solution which detects the common
 mobile browsers, like
 
 http://detectmobilebrowsers.mobi/
 
 I think about a acl rule, thanks for any Ideas.

Stupid question, why not simply use the user-agent ?

Willy






Re: Q about mobile browser detection

2012-04-10 Thread Aleksandar Lazic

Hi Willy,

On 10-04-2012 07:14, Willy Tarreau wrote:

Hi Aleks,

On Tue, Apr 10, 2012 at 01:22:36AM +0200, Aleksandar Lazic wrote:

Hi,

have anybody a haproxy solution which detects the common
mobile browsers, like

http://detectmobilebrowsers.mobi/

I think about a acl rule, thanks for any Ideas.


Stupid question, why not simply use the user-agent ?


Because the UA is not uniq on the devices.

I thought similar but after a little digging into this issue I was 
surprised

how difficult this issue could be.

Cheers
Aleks



Re: Q about mobile browser detection

2012-04-09 Thread Baptiste
Hey,

As you said, device mobile detection can be achieved by an ACL.
There is also an other good project (opensource), http://www.openddr.org/

It is just a question of a few ACLs.

Cheers

On Tue, Apr 10, 2012 at 1:22 AM, Aleksandar Lazic al-hapr...@none.at wrote:
 Hi,

 have anybody a haproxy solution which detects the common
 mobile browsers, like

 http://detectmobilebrowsers.mobi/

 I think about a acl rule, thanks for any Ideas.

 BR
 Aleks




Re: Q about mobile browser detection

2012-04-09 Thread Willy Tarreau
Hi Aleks,

On Tue, Apr 10, 2012 at 01:22:36AM +0200, Aleksandar Lazic wrote:
 Hi,
 
 have anybody a haproxy solution which detects the common
 mobile browsers, like
 
 http://detectmobilebrowsers.mobi/
 
 I think about a acl rule, thanks for any Ideas.

Stupid question, why not simply use the user-agent ?

Willy