thanks for your quick reply but my target is: 1. when go to some domains e.g. *.google.com, go through a specific cache_peer without direct connection(since there's an openvpn between local squid to that remote cache_peer) 2. other domains, direct connect or go through default cache_peer with plain text transfering proxy-only makes my squid not cache in local and always fetch from cache_peer but how does it manage to make it always go through cache_peer when visiting *.google.com while others just direct link? idea? On 9/27/07, jiangnan <skine0709@xxxxxxxxx> wrote: > > > 2007/9/27, Patrick Hsieh(Pahud) <pahudnet@xxxxxxxxx>: > > how do I configure squid to make it always go through parent proxy to > > some domain? > > > > In my situation, some websites are blocked by firewall and I made an > > openvpn from my local proxy to parent proxy and I'd like to force my > > local squid to always go through the parent proxy via openvpn when > > visiting those domains. Now the openvpn was built well but I have no > > idea making squid go through parent proxy only for those defined > > domains and always direct for other domains. > > > > idea? > > > > proxy-only > to specify that objects fetched from this cache should not be saved > locally. > > maybe,you can use this for some domain > more detail at > http://www.visolve.com/squid/squid30/neighboursel.php#cache_peer > or use no_cache > http://www.visolve.com/squid/squid30/neighboursel.php#no_cache > i think proxy-only is better for you > > -- > This is gogo407 > Have Fun