RE: [squid-users] Multiple parent servers

From: Philippe Dhont \(Sea-ro\) <philippe.dhont@dont-contact.us>
Date: Mon, 28 Nov 2005 12:31:27 +0100

 

Think i found it:
Same configuration as i used with an addon:

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
Cache_peer_access 10.0.0.2 allow !test ==> added this.

And that works for me, or is there a better solution ?

Grtz,
Phil.

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:31:31 MST

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