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

From: <CACook_at_quantum-sci.com>
Date: Thu, 13 Jun 2013 07:24:52 -0800

On Wednesday, June 12, 2013 09:16:09 AM CACook_at_quantum-sci.com wrote:
> On Tuesday, June 11, 2013 02:50:32 PM Amos Jeffries wrote:
> > 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.
>
>
> Thanks, but it doesn't work. After this and a restart:
>
> request_header_access User-Agent deny all
> request_header_replace User-Agent Mozilla/5.0 (compatible; Goog1ebot/2.1; +http://www.google.com/bot.html)
>
> ... still the true user agent.

Is anyone able to actually set user agent?
Received on Thu Jun 13 2013 - 14:24:55 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 13 2013 - 12:00:33 MDT