Vadim Pushkin wrote:
> Hello.
>
> I have tried using:
>
> ./squidclient -h localhost -p 3030 -m PURGE
> http://www.cnn.com/URL-to-delete-from-cache
>
> And I get permission denied.  Could someone please tell me what restricts
> this and how I can change it?

To allow purge from localhost:

acl purge method purge
acl localhost src 127.0.0.0/255.0.0.0
http_access allow purge localhost
http_access deny purge

Enabling purge for other hosts is left as exercise for the reader.

Joost

Reply via email to