Search squid archive

Re: problem sending requests (dstdomain) to special proxy

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

 



Joerg Hartmann wrote:
Hello,

i would like to configure my Squid to send all requests for a given
domain to just one (and only one) parent.
Unfortunately i can not get this to work.

I have two cache_peers, one is my default parent which i must use.
The other is the parent just for that special domain.

#  for special domain
cache_peer AA.BB.210.135 parent 3128 7 no-query # # default parent
 cache_peer AA.BB.154.62 parent 80 7 no-query default

Then i have an acl for the domain in question

acl Haufe dstdomain .gate.xyz.lsa-net.de
http_access allow Haufe

cache_peer_access AA.BB.210.135 allow Haufe
cache_peer_access AA.BB.210.135 deny all

And the statement that all traffic is to route to a parent.
never_direct allow all

But the requests for [foobar].gate.xyz.lsa-net.de are never routed
to the parent which i want. Instead they are going to the default parent
which can not respond to them.

Could someone please help we with this problem?

"default" is explicit configuration that the parent can ALWAYS handle requests not permitted elsewhere.

Remove it from your setup. If you still have issues, add an explicit "deny Haufe" then "allow all" for the other peer.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5

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

  Powered by Linux