Re: [squid-users] header_replace: Can items be merged?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 04 Nov 2010 03:39:49 +1300

On 04/11/10 03:32, Jenny Lee wrote:
>
> Hello folks,
>
> acl BADGUY dstdomain somewhere
> header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit) BADGUY
>
> Is there any way to do this? It is sucking in the whole line as UA (as expected). Quotation marks did not help.
>
> Any ideas?

request_header_access User-Agent deny BADGUY

The replace only happens if the header has been removed first.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.9
   Beta testers wanted for 3.2.0.2
Received on Wed Nov 03 2010 - 14:39:54 MDT

This archive was generated by hypermail 2.2.0 : Wed Nov 03 2010 - 12:00:02 MDT