[squid-users] local hosts and cgi in cache?

From: Mauro <[email protected]>
Date: Mon, 7 Apr 2003 11:49:18 +0200

Hallo.
I have a lan with about 1000 clients.
I use an automatic configuration script like this:
function FindProxyForURL(url, host)
    {
        if (isPlainHostName(host) ||
            dnsDomainIs(host, ".mydomain.it"))
            return "DIRECT";
        else
            return "PROXY w3proxy.netscape.com:8080; DIRECT";
    }

to connect directly to local host and to use proxy for internet.
With the command
sort -r -n +4 -5 /var/log/squid/access.log | awk '{print $5, $7}' | head -25
I see some contents of my cache and I see
http://192.168.2.232/cgi-bin/search_dip.cgi
http://192.168.5.5/i8.gif
and so on.
But.....192.168.2.232 and 192.168.5.5 are local hosts, so why squid has cached
them?
According to the automatic configuration script squid should go directly to
local hosts.
And why squid has cached the cgi search_dip?
I have in configuration file the parameter

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

no_cache deny QUERY

So why squid has cached the cgi?
Thank you.

Mauro
Received on Mon Apr 07 2003 - 03:51:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:43 MST