Search squid archive

Re: Change http header / User-Agent based on Client IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux