<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: SHA1 <br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.squid-cache.org/SquidFaq/SquidAcl#Differences_between_.27.27src.27.27_and_.27.27srcdomain.27.27_ACL_types">http://wiki.squid-cache.org/SquidFaq/SquidAcl#Differences_between_.27.27src.27.27_and_.27.27srcdomain.27.27_ACL_types</a><br>
<br>
For the /srcdomain/ ACL type, Squid does a reverse lookup of the
client's IP address and checks the result with the domains given on
the /acl <a class="moz-txt-link-rfc2396E" href="http://www.eu.squid-cache.org/Doc/config/acl"><http://www.eu.squid-cache.org/Doc/config/acl></a>/ line.
With the/src/ ACL type, Squid converts hostnames to IP addresses at
startup and then only compares the client's IP address. The /src/
ACL is preferred over/srcdomain/ because it does not require
address-to-name lookups for each request.<br>
<br>
<br>
10.01.2015 19:45, Prasad Yalla пишет:<br>
<span style="white-space: pre;">> I have a requirement to remove
Referer header when a certain of my sites make a reference and not
all.<br>
> I managed to remove Referer selectively based on the
destination domain, but how do I do it based on the originating
site?<br>
> Here is how it did for destination domain:<br>
><br>
> acl referer_allowdst dstdomain google.com
<a class="moz-txt-link-rfc2396E" href="http://google.com"><http://google.com></a><br>
> header_access Referer deny referer_allowdst<br>
><br>
> When i use srcdomain here it doesn't work. This is an urgent
requirement, can someone help me with this please?<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>
iQEcBAEBAgAGBQJUsaJyAAoJENNXIZxhPexG3xQH/je1rGfb0MfMzYbmHSMD2SL0
<br>
Y2mc7hccrmoYpRTwjOCK1NmEvoenj3J6stbKGDidoB+BYhuUjt5/xJ+HDA3MjC7C
<br>
q+zpt4SdumnXBWiK+tn/RP/pK/TnjqOWcnEpnvctdpXbjJuhUvwf3pZ9/7EG1wPs
<br>
R86T8RURbKEBo1IfeSbQrjNWwxt93bt6bOjrRmnc1QEkh8TC+bNGYdug2RM3TkMl
<br>
+FBJUL7H/bmlile1vRUot/jEWNWGPP4GyP8rZhp0UcCzepCIX0QW8SepefSmwkQk
<br>
lavMU/hrHoIZQdioZkAw/s0uDxr2U3Z4zUg9kiQt58vC3DuWM96jqWndP1TkTug=
<br>
=02mh
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>