[squid-users] Custom User-Agent header based on domain?
Yuri Voinov
yvoinov at gmail.com
Wed May 20 18:28:42 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
acl you_dom dstdomain .youdomain.com
request_header_access User-Agent deny you_dom
request_header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)
21.05.15 0:14, Shenan Hawkins пишет:
> Is it possible to construct a stanza for squid such that a custom
> User-Agent request header is sent based upon the requested domain?
>
> It seems easy enough to add a custom header for that situation, but not
> replace one.
>
> For instance, the idea would be "all requests to google.ca get User-Agent:
> blahblahblah1, and all requests to google.com get User-Agent:
> blahblahblah2".
>
>
>
> Thanks,
> Shenan
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVXNJaAAoJENNXIZxhPexGpV4H/1y3E4h/pVXpHzziz5TdOZjU
mPQTWo4Nlfvo2D1nw8nHKEz6bUXuTlKfFygWh1hC8vcinYHYMms7O02CnMYecAAf
voZuIHbXjkKpHhbVVUKKEiXJVVFARzmoLR+YCKu7X/CNf+Zr+xPEx9s6W8a0iEvU
hxjlcfjldD2xRPg1s7CmPu3cfuy31FbR1C8Qnz5NxB6LHSoLMJJiummjCcsuUGsW
gp0SvnNcUp8D8iX/BFL1I/rZSxFrllNFVjZXfpgJ+XC5FYdX1i+61LwKxeE5X7FB
kaqWRJGfuxAZbCpKEknDRFljUFxD9Tv2T3acLpMIDDh1D197H3m16LHXTIH5/v4=
=MIwV
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150521/fc5866bf/attachment.html>
More information about the squid-users
mailing list