It works fine !! thank you so much !!!
----- Original Message -----
From: "Henrik Nordstrom" <henrik@xxxxxxxxxxxxxxxxxxx>
To: "Sébastien WENSKE" <canardwc@xxxxxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Sunday, July 06, 2008 10:51 PM
Subject: Re: 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