Re: [squid-users] cache_peer_access problem.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 13 Jun 2001 09:49:51 +0200

Tim Ballingall wrote:

> users to use the new service, just in case it turns flaky. Therefore, most
> of my users should continue to use the proxy without a parent - ie
> always_direct.

Well.. always_direct forces Squid to always go direct to the sites even
if there MAY be parents available. cache_peer_access has much lower
priority.

> cache_peer testproxy parent 8080 3130
> acl all src 0.0.0.0/0.0.0.0
> acl testuser src 10.3.0.217/255.255.255.255
>
> cache_peer_access testproxy allow testuser
> cache_peer_access tesyproxy deny all

Fine.

> acl localips src 10.0.0.0/255.0.0.0
> acl FTP proto FTP
> always_direct allow FTP
> always_direct allow localips

Remove the localips stuff and you should be fine I think. The above
forces requests from all users within 10.0.0.0/8 to go direct,
completely ignoring any cache_peer settings for these users.

--
Henrik Nordstrom
Squid Hacker
Received on Wed Jun 13 2001 - 02:14:40 MDT

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