Search squid archive

Re: Custom User-Agent header based on domain?

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

 




-----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@xxxxxxxxxxxxxxxxxxxxx
> 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-----

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux