It works fine !! thank you so much !!!
----- Original Message -----
From: "Henrik Nordstrom" <henrik_at_henriknordstrom.net>
To: "Sébastien WENSKE" <canardwc_at_canardwc.com>
Cc: <squid-users_at_squid-cache.org>
Sent: Sunday, July 06, 2008 10:51 PM
Subject: Re: [squid-users] cache_peer_domain + POST
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 - 21:38:06 MDT
This archive was generated by hypermail 2.2.0 : Mon Jul 07 2008 - 12:00:03 MDT