Re: [squid-users] Redirector idea using request header

From: Marcus Kool <marcus.kool_at_urlfilterdb.com>
Date: Sat, 05 May 2012 18:01:15 -0300

On 05/05/2012 06:31 AM, gslavic wrote:
> Hi, there,
>
> Is there a way to read "Request Header" BEFORE it is writen in access.log ?
>
> Example:
> There are three versions of internet site. One for Simbian phones, one for
> Android phones, one for regular internet browsers. In request header there
> is a field:
>
> */User-Agent: Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1
> NokiaE71-1/200.21.118; Profile/MIDP-2.0 Configuration/CLDC-1.1 )
> AppleWebKit/413 (KHTML, like Gecko) Safari/413/*
> if the client is using Symbian OS / Nokia E71 phone, and an field

ICAP is the perfect solution for this kind of functionality.
An ICAP daemon receives all request headers in a REQMOD request
and can make decisions (rewrite/redirect) based on those headers.

Marcus
Received on Sat May 05 2012 - 21:01:19 MDT

This archive was generated by hypermail 2.2.0 : Sun May 06 2012 - 12:00:03 MDT