Re: [squid-users] User-Agent redirect?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 28 Dec 2010 09:47:02 +1300

On 27/12/10 11:07, Daniel Gary wrote:
> I have a client that runs a handful of vhosts on a single server,
> frontended by Squid 3 (debian)
>
> What would be the simplest solution to doing a redirect in squid when
> the user-agent is an iphone for example, but only for a specific domain
> (leaving the other vhosts unredirected)

To a fixed bounce page?

   acl iphones browser ...
   acl dom dstdomain ...
   http_access deny dom iphones
   deny_Info http://example.com iphones

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.10
   Beta testers wanted for 3.2.0.4
Received on Mon Dec 27 2010 - 20:47:06 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 28 2010 - 12:00:03 MST