Re: [squid-users] User Agent Setting Not Being Used

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 11 Jun 2013 14:50:32 +1200

On 11/06/2013 5:22 a.m., CACook_at_quantum-sci.com wrote:
> For some reason Squid is passing along my real UserAgent:
> User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0
>
> ... rather than the one I'm telling it to pass along:
> request_header_replace User-Agent Mozilla/5.0 (compatible; Goog1ebot/2.1; +http://www.google.com/bot.html)
>
> Anyone know why?

You replacing headers requires request_header_access to remove the
existing one first.

Amos
Received on Tue Jun 11 2013 - 02:52:35 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 12 2013 - 12:00:17 MDT