Re: [squid-users] cache_peer_domain + POST

From: Sébastien WENSKE <canardwc_at_canardwc.com>
Date: Sun, 6 Jul 2008 21:57:23 +0200

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.

Sebastien.

----- 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 9:10 PM
Subject: Re: [squid-users] cache_peer_domain + POST

On sön, 2008-07-06 at 15:49 +0200, Sébastien WENSKE wrote:
> Hi all,
>
> I have set a cache_peer_domain to use a parent proxy for a specific
> domain.
>
> cache_peer 10.147.113.254 parent 218 0 proxy-only name=office
> cache_peer_domain office .specific.net
> acl specific dstdomain specific.net
> never_direct allow specific
>
> It will work fine until i try to post a form

You'll need never_direct as well.

POST isn't normally cachable so Squid does not bother to use peer caches
if it doesn't have to.

Regards
Henrik
Received on Sun Jul 06 2008 - 19:57:30 MDT

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