Yo need something like this in your squid.conf
acl PURGE method PURGE
acl localhost src 127.0.0.1
and this lines must be in the beginning of your http_access section:
http_access allow PURGE localhost
http_access deny PURGE
salu2
Diego
----- Original Message -----
From: Eswari sharma <eswaris@mos.com.np>
To: <squid-users@squid-cache.org>; Adam Aube <aaube01@baker.edu>; Henrik
Nordstrom <hno@squid-cache.org>
Sent: Tuesday, August 31, 2004 9:06 PM
Subject: Re: [squid-users] Re: PURGE objects
> Hi squid_users and experts,
>
> > > Does anyone know wpurge objects from the squid cache,
> > > and what is the right way to do so?
> > "How can I purge an object from my cache?"
> > http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.5
> >
> I've got few url which is not opening from cache and it seems to be stale
> in squid server . When I try to purge from the cache using
> squidclient -m Purge http://www.fewurl.com
> but I get "access denied " error as follows
> ------------------
> HTTP/1.0 403 Forbidden
> Server: squid/2.5.STABLE3
> Mime-Version: 1.0
> Date: Tue, 31 Aug 2004 10:26:41 GMT
> Content-Type: text/html
> Content-Length: 1063
> Expires: Tue, 31 Aug 2004 10:26:41 GMT
> X-Squid-Error: ERR_ACCESS_DENIED 0
> X-Cache: MISS from cache3.mos.com.np
> Proxy-Connection: close
> blah ..blah .....blah....
> Access Denied.
> -------------------
> the same type of message is displaying when I test by using "squidclient "
> binary
>
> How shall I rectify or solve this problem .
>
> Thanks in advance ,
> regards,
> eswari
>
>
>
>
>
>
>
Received on Tue Aug 31 2004 - 08:14:02 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:03 MDT