Re: [squid-users] Can I rewrite URL on browser?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 21 Apr 2009 22:52:22 +1200

Oleg wrote:
> Hi2All.
>
> Can Squid redirect user's request to another URL on browser concordance?
> For example, if user use MSIE < 6.0 redirect him to page with browser
> update from IT site page.
> I'm found only access rules for browser string (User-Agent), but not I
> mean.

I'd use a custom deny_info redirect for this.

   acl msie6 browser .. <whatever the pattern for IE6 is> ...
   deny_info http://example.com/meis_update.html msie6
   http_access deny msie6

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Tue Apr 21 2009 - 10:52:29 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 21 2009 - 12:00:02 MDT