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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 21 Apr 2009 23:24:04 +1200

Oleg wrote:
> Ya, is what I need! Thank you.
>
> Amos Jeffries пишет:
>> 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

PS. putting my web developers hat on;
    please, please bump them to IE 7 :)
    IE6 is a royal pain in the visuals. 7 is at least a bit better.

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 - 11:24:12 MDT

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