Thank you Joost,
It works, and I've enabled my inside LAN as well.
.vp
From: "Joost de Heer" <sanguis@xxxxxxxxx>
Reply-To: sanguis@xxxxxxxxx
To: "Vadim Pushkin" <wiskbroom@xxxxxxxxxxx>
CC: squid-users@xxxxxxxxxxxxxxx
Subject: Re: How Do I Drop Object From Cache?
Date: Mon, 22 May 2006 22:36:45 +0200 (CEST)
MIME-Version: 1.0
Received: from squid-cache.org ([206.168.0.9]) by
bay0-mc1-f11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon,
22 May 2006 13:39:21 -0700
Received: (qmail 54165 invoked by uid 1007); 22 May 2006 20:36:48 -0000
Received: (qmail 54134 invoked by uid 1); 22 May 2006 20:36:48 -0000
X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
Mailing-List: contact squid-users-help@xxxxxxxxxxxxxxx; run by ezmlm
Precedence: bulk
List-Post: <mailto:squid-users@xxxxxxxxxxxxxxx>
List-Help: <mailto:squid-users-help@xxxxxxxxxxxxxxx>
List-Unsubscribe: <mailto:squid-users-unsubscribe@xxxxxxxxxxxxxxx>
List-Subscribe: <mailto:squid-users-subscribe@xxxxxxxxxxxxxxx>
Delivered-To: mailing list squid-users@xxxxxxxxxxxxxxx
References: <BAY104-F2666F59432060F899D89BDB49A0@xxxxxxx>
User-Agent: SquirrelMail/1.4.5
X-Virus-Scanned: by XS4ALL Virus Scanner
X-Greylist: Recipient e-mail whitelisted, not delayed by
milter-greylist-2.0.2 (squid-cache.org [199.45.255.9]); Mon, 22 May 2006
14:36:48 -0600 (MDT)
Return-Path: squid-users-return-65192-wiskbroom=hotmail.com@xxxxxxxxxxxxxxx
X-OriginalArrivalTime: 22 May 2006 20:39:22.0495 (UTC)
FILETIME=[CEA840F0:01C67DDF]
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