Re: [squid-users] How can I purge an object from my cache?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 15 Aug 2007 19:42:11 +1200 (NZST)

> Hi All,
>
> I wnat to purge an object from squid cache. I refered to below URL.
>
> http://wiki.squid-cache.org/SquidFaq/OperatingSquid#head-f418956943bd72ee8b94390ec9df241c3d1dfd20
>
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
>
> # Example rule allowing access from your local networks. Adapt
> # to list your (internal) IP networks from where browsing should
> # be allowed
>
> acl mynet src 192.168.101.0/25
> http_access allow mynet
>
> acl PURGE method PURGE
> acl localhost src 127.0.0.1/255.255.255.255
> http_access allow PURGE localhost
> http_access deny PURGE
>
> When, I restart squid , I will get below error.
>
>
> [root@mailgw squid]# /etc/init.d/squid restart
> Stopping squid: 2007/08/15 10:50:54| WARNING: '127.0.0.1' is a
> subnetwork of ' 127.0.0.1'
> 2007/08/15 10:50:54| WARNING: because of this ' 127.0.0.1' is ignored
> to keep splay tree searching predictable
> 2007/08/15 10:50:54| WARNING: You should probably remove ' 127.0.0.1'
> from the ACL named 'localhost'
> ..
> [ OK ]
> Starting squid: . [ OK ]
>
> Where have I gone wrong?

It looks like squid has barfed on the multiple spaces between src and 127.
Try removing those.

Amos
Received on Wed Aug 15 2007 - 01:42:15 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT