Re: [squid-users] Removing a URL from SQUID

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 28 May 2008 13:09:58 -0800

Mr. Issa(*) wrote:
> Hello mates!!
> Well iam trying to remove a URL From the Cached Objects Using the
> SQUID's WEBMIN MODULE.
>
> Im getting this error:
>
> Clearing URL http://www.google.com ..
>
> HTTP/1.0 403 Forbidden
> Server: squid/2.6.STABLE19
> Date: Tue, 27 May 2008 22:58:34 GMT
> Content-Type: text/html
> Content-Length: 1080
> Expires: Tue, 27 May 2008 22:58:34 GMT
> X-Squid-Error: ERR_ACCESS_DENIED 0
> X-Cache: MISS from SuperNet.leetlinux.lx
> X-Cache-Lookup: NONE from SuperNet.leetlinux.lx:3128
> Via: 1.0 SuperNet.leetlinux.lx:3128 (squid/2.6.STABLE19)
> Proxy-Connection: close
>
>
> ERROR
>
> The requested URL could not be retrieved
>
>
> While trying to retrieve the URL: http://www.google.com
>
> The following error was encountered:
>
> * Access Denied.
>
> Access control configuration prevents your request from being
> allowed at this time. Please contact your service provider if you feel
> this is incorrect.
>
>
> Your cache administrator is xnixguy_at_gmail.com.
>
> Generated Tue, 27 May 2008 22:58:34 GMT by SuperNet.leetlinux.lx
> (squid/2.6.STABLE19)
>
> .. done.
>
>
> Any help please?
>

In your squid.conf you need...

acl PURGE method PURGE
acl purgeHost src [ip of Webmin server, or 127.0.0.1 if Squid is hosted
on the same machine]

http_access allow PURGE purgeHost
http_access deny PURGE

> thanks all :)
>

Chris
Received on Wed May 28 2008 - 21:10:17 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT