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

From: Hussam Al-Tayeb <hussam_at_visp.net.lb>
Date: Sun, 12 Jan 2014 03:38:50 +0200

On Sunday 12 January 2014 14:30:35 Amos Jeffries wrote:
> 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

Nope, Archlinux (3.4.2 release) but I make my own builds because it
can sometimes take them weeks to upgrade.

Received on Sun Jan 12 2014 - 01:38:58 MST

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