AW: [squid-users] Multiple parent servers

From: <Werner.Rost@dont-contact.us>
Date: Mon, 28 Nov 2005 12:28:09 +0100

Following example works for me:

cache_peer_access parent1 deny acl1
cache_peer_access parent1 deny localhost
cache_peer_access parent2 allow acl1
cache_peer_access parent2 allow localhost
cache_peer_access parent2 deny all

Sites defined with acl1 access parent2, all other sites parent1.

Mit freundlichem Gruß/Yours sincerely
Werner Rost

>>-----Ursprüngliche Nachricht-----
>>Von: Philippe Dhont (Sea-ro) [mailto:philippe.dhont@searo.be]
>>Gesendet: Montag, 28. November 2005 12:22
>>An: squid-users@squid-cache.org
>>Betreff: RE: [squid-users] Multiple parent servers
>>
>>
>>
>>Hello,
>>
>>I tried that but no succes, this is how i did it (example):
>>
>>Cache_peer 10.0.0.1 parent 8080 3130 no-query
>>Cache_peer 10.0.0.2 parent 8080 3130 default no-query
>>
>>...
>>...
>>...
>>...
>>Acl all src 0.0.0.0/0.0.0.0
>>Never_direct allow all
>>Acl test arp blahblahblah
>>Http_access allow test
>>Http_acces deny all
>>...
>>...
>>...
>>...
>>...
>>...
>>...
>>Cache_peer_access 10.0.0.1 allow test
>>Cache_peer_access 10.0.0.1 deny all
>>
>>Maybe i understand it wrong ?
>>If i remove "http_access allow test" it doesn't work so i
>>don't know how to configure it exactly.
>>
>>Grtz,
>>Phil.
>>
>>
>>
>>-----Original Message-----
>>
>>
>>
>>
>>Sure can - look into cache_peer_access
>>
>>Similar to 'cache_peer_domain' but provides more flexibility
>>by using ACL elements.
>>
>>-----Original Message-----
>>
>>
>>
>>Hi,
>>Is it possible to use multiple parent servers ?
>>
>>I use squid with forwarding to one parent server with
>>always_direct but i want some acl's to use another parent.
>>
>>Any idea ?
>>
>>Grtz,
>>Phil.
>>
Received on Mon Nov 28 2005 - 04:29:09 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST