Re: [squid-users] strip Referer header based in source

2015-01-11 Thread Prasad Yalla
Putting src tries to match IP of the PC from which the request originated. But thanks, I got this figured out with the referer_regex acl, it looks something like this: acl referer_allowsrc referer_regex -i ^http://testing.abc.com [here testing.abc.com is the referring site] header_access Referer

Re: [squid-users] strip Referer header based in source

2015-01-10 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://wiki.squid-cache.org/SquidFaq/SquidAcl#Differences_between_.27.27src.27.27_and_.27.27srcdomain.27.27_ACL_types For the /srcdomain/ ACL type, Squid does a reverse lookup of the client's IP address and checks the result with the domains given o

[squid-users] strip Referer header based in source

2015-01-10 Thread Prasad Yalla
I have a requirement to remove Referer header when a certain of my sites make a reference and not all. I managed to remove Referer selectively based on the destination domain, but how do I do it based on the originating site? Here is how it did for destination domain: acl referer_allowdst dstdomai