Re: 1.1.8 ignores my stoplist?

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 14 Mar 97 18:44:52 -0800

tech@voerde.globvill.de writes:

>
>Hi,
>
>this is pulling my hair out. I tried multiple entries in squid.conf to
>stop it from caching my local domains:
>
>local_domain mydomain1.de mydomain2.de
>local_ip cnet.of.domains.0
>cache_stoplist mydomain1.de
>cache_stoplist mydomain2.de
>
>But when accessing www.mydomain1.de the accesslog reads
>194.162.221.10 - - [14/Mar/1997:13:02:38 +0100] "GET http://www.mydomain1.de/"
 TCP_HIT:NONE 1287
>
>Funnily, when accessing www.mydomain1.de via its IP, I get
>194.162.221.10 - - [14/Mar/1997:13:03:56 +0100] "GET http://a.b.c.d/" TCP_MISS
:DIRECT 1287
>
>This happens with 1.1.8 on Linux 2.0.27
>
>Any hints?

local_domain, local_ip won't affect what you're trying to do.

If some mydomain1.de objects got cached before you added the
cache_stoplist config entries, then you could still get HITS for them.
To take them out:

     bin/squid -ks # shutdown
     cd cache
     grep -v 'mydomain[12].de' < log > newlog
     mv newlog log
     squid & # restart

(nice administrative interface, eh?)

Duane W.
Received on Fri Mar 14 1997 - 18:53:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:41 MST