Re: [squid-users] cache_peer_domain + POST

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sun, 06 Jul 2008 22:51:03 +0200

On sön, 2008-07-06 at 21:57 +0200, Sébastien WENSKE wrote:
> Thanks Henrik,
>
> I've try to do this, but I don't know how to specify never_direct POST
> method only for this specific domain, i need to get this parent proxy fot
> this domain because it's IP filtred and only the IP of my office is allowed.

Sorry, read your configuration again and I now see that you did try to
use never_direct. But a . was missing from your acl.. (but present in
cache_peer_domain..)

Try this:

acl specific dstdomain .specific.net
cache_peer 10.147.113.254 parent 218 0 proxy-only name=office
cache_peer_access office allow specific
never_direct allow specific

that cache_peer_access line is equivalent to a cache_peer_domain using
the same domains, but as you also need an acl matching these domains
cache_peer_access is easier as there is less duplication and less risk
for unnoticed configuration errors...

Regards
Henrik

Received on Sun Jul 06 2008 - 20:51:09 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 07 2008 - 12:00:03 MDT