On 27/05/2014 4:35 a.m., dummy4711 wrote:
> Hi,
> 
> I did a lot of research but I didn't find a solution for my question so 
> hopefully you guys have an idea.
> 
> Question: is it possible that Squid replaces the http user agent based on the 
> client IP address?
> 

Yes for Squid-3.3 or later.

First you deny the existing header being sent (because HTTP only permits
one User-Agent header):
http://www.squid-cache.org/Doc/config/request_header_access/

Then you add the new one:
http://www.squid-cache.org/Doc/config/request_header_add/

Amos

Reply via email to