On Tue, 2013-11-05 at 08:31 -0500, Monah Baki wrote:
> I came across this where it forward all requests to another proxy
> 
> cache_peer parentcache.foo.com parent 3128 0 no-query default
> never_direct allow all
> 
> 
> How can I deny all requests to use the parent proxy except for a
> specific domain.
> Everything else use the child.
> 
> Thanks
> Monah

I use:

cache_peer peer.domain.tld sibling 3128    4827    htcp=no-clr
cache_peer 127.0.0.1    parent  8080    7       no-query no-digest
login=PASSTHRU
...
always_direct allow ThisACL
always_direct deny all
...
never_direct deny ThisACL
never_direct allow all

always_direct will push the request without it going to the parent.
never_direct will force the request to go to the parent.

Reply via email to