Re: cache chaining...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 01 Oct 1999 13:07:09 +0200

Franklin R. Jones wrote:

> User on our internal net wants access https://x.y.foo.com, squid
> need to redirect the proxy request to http://wp.foo.com:80.

Things like this is best done in the PAC script if possible.

> I've tired things like
>
> cache_peer wp.foo.com parent 80 7 no-query proxy-only
> cache_peer_domain wp.foo.com x.y.foo.com

Try this:
cache_peer wp.foo.com parent 80 7 no-query
acl x.y.foo.com dstdomain x.y.foo.com
cache_peer_access wp.foo.com allow x.y.foo.com
never_direct allow x.y.foo.com

If you have other cache_peer lines, then add a "cache_peer_access
cache.peer.net deny x.y.foo.com" for each of them.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Fri Oct 01 1999 - 12:45:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:41 MST