Search squid archive

Re: How can I purge an object from my cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux