<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
acl you_dom dstdomain .youdomain.com<br>
request_header_access User-Agent deny you_dom<br>
request_header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)<br>
<br>
21.05.15 0:14, Shenan Hawkins пишет:<br>
<span style="white-space: pre;">> Is it possible to construct a
stanza for squid such that a custom<br>
> User-Agent request header is sent based upon the requested
domain?<br>
><br>
> It seems easy enough to add a custom header for that
situation, but not<br>
> replace one.<br>
><br>
> For instance, the idea would be "all requests to google.ca
get User-Agent:<br>
> blahblahblah1, and all requests to google.com get User-Agent:<br>
> blahblahblah2".<br>
><br>
><br>
><br>
> Thanks,<br>
> Shenan<br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJVXNJaAAoJENNXIZxhPexGpV4H/1y3E4h/pVXpHzziz5TdOZjU
<br>
mPQTWo4Nlfvo2D1nw8nHKEz6bUXuTlKfFygWh1hC8vcinYHYMms7O02CnMYecAAf
<br>
voZuIHbXjkKpHhbVVUKKEiXJVVFARzmoLR+YCKu7X/CNf+Zr+xPEx9s6W8a0iEvU
<br>
hxjlcfjldD2xRPg1s7CmPu3cfuy31FbR1C8Qnz5NxB6LHSoLMJJiummjCcsuUGsW
<br>
gp0SvnNcUp8D8iX/BFL1I/rZSxFrllNFVjZXfpgJ+XC5FYdX1i+61LwKxeE5X7FB
<br>
kaqWRJGfuxAZbCpKEknDRFljUFxD9Tv2T3acLpMIDDh1D197H3m16LHXTIH5/v4=
<br>
=MIwV
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>