Re: [squid-users] Re: squidclient PURGE is not working

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 12 Jan 2014 14:30:35 +1300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/01/2014 6:42 a.m., Hussam Al-Tayeb wrote:
> On Saturday 11 January 2014 19:12:25 you wrote:
>> This is what I tried: squidclient PURGE -m
>> http://i.imgur.com/OtvOiYIb.jpg Sending HTTP request ... done.
>>
>> relevant squid.conf entry
>>
>> acl PURGE method PURGE http_access allow PURGE localhost hussam
>> http_access deny PURGE
>>
>>
>> The file is not purged. Any ideas?
>
> I got it. changing the rule to
>
> acl PURGE method PURGE http_access allow PURGE localhost
> http_access allow PURGE hussam http_access deny PURGE
>
> fixed it.
>

Either your purge requests were not coming from the localhost IPs or
the localhost ACL is not matching the IP properly.

squidclient should be using ::1 by default. Is this a RHEL build of
Squid with their patch to stop ::1 being considered as localhost?

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS0fA7AAoJELJo5wb/XPRjNBkIAL8dezetgKu1y9+tTLBY7Ljm
kY7uJ8ftwZxIoGBr0kBZSmxwRoMpWR+gWiJJt82rSNjcqmOM3OIdpgUvgStSGlpO
ekX4vUYBOP7LxUUCAZTqYG4Ux9JYGIlcA+FxTeBKmC4elJq09PDac8ix2Otx7QYW
GFsnMIXCM1vWVkiEqi8e2X1Lnpaw/WWSUGewMxRfml7//A2sVfeD0JYTEARgslRL
PkK1aji9g8fUBeAjmJnE/ewXZJCwbGaYxe8WMLwu8XGz9spSZ4aMn15CwtRbJeor
BpvvS4tCcFqWbdwMZD1ynZVuiHUrrn1KzPlh/kJEfFAhOwL2c1qGjUpRoLeMUGY=
=6Sqs
-----END PGP SIGNATURE-----
Received on Sun Jan 12 2014 - 01:30:45 MST

This archive was generated by hypermail 2.2.0 : Sun Jan 12 2014 - 12:00:05 MST