[squid-users] forwarding to two proxy server

From: Hasan, Irfan <irfan.hasan@dont-contact.us>
Date: Sun, 29 Sep 2002 13:00:45 +0800

I want to forward web traffic to two different proxy server.
All the traffic for:
*domain1.com go to proxy1.com
*domain2.com go to proxy2.com
anything else go direct to Internet
 
------------------------------------------------
acl dta dstdomain .domain1.com
acl dsh dstdomain .domain2.com
 
cache_peer proxy1.com parent 8080 0 no-query default
cache_peer_domain *.domain1.com
 
cache_peer proxy2.com parent 8080 0 no-query default
cache_peer_domain *.domain2.com
 
always_direct allow !dsh
never_direct allow dsh
 
always_direct allow !dta
never_direct allow dta
---------------------------------------
Traffic can go to Internet and domian1.com but traffic is not
going to domain2.com. Hope someone can help me
 
 
Received on Sat Sep 28 2002 - 23:01:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:27 MST