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.
Attachment:
signature.asc
Description: This is a digitally signed message part.