[squid-users] Re: How Do I Drop Object From Cache?

From: Joost de Heer <[email protected]>
Date: Mon, 22 May 2006 22:36:45 +0200 (CEST)

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
Received on Mon May 22 2006 - 14:36:49 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT