Hello Evgeny, Saturday, October 8, 2005, 14:09:20, Evgeny Kotsuba wrote:
> There is some page that contains: > -----8<-------------------------------------- > <html><head> > <meta HTTP-EQUIV="PRAGMA" content="NO-CACHE"> > <meta HTTP-EQUIV="Refresh" > CONTENT="20;URL='http://kubok.yandex.ru/regkubok_msk1/XXXX"> > [......] > <td rowspan="3" > background="http://kubok.yandex.ru/i/empty-top.jpg"><img > src="/i/top6.gif" width="351" height="105" usemap="#Map" border="0">><img src="http://u1386.48.spylog.com/cnt?p=1" > [......] > <img src="/i/artlebedev.gif" > -----8<-------------------------------------- > So that every 20 sec squid gets this page again as well as 4 > external links from this page with records in access log like > -----8<-------------------------------------- > 1128764141.130 4280 127.0.0.1 TCP_CLIENT_REFRESH_MISS/200 743 GET > http://kubok.yandex.ru/i/empty-top.jpg evg DIRECT/213.180.204.2 > image/jpeg > 1128764141.130 3960 127.0.0.1 TCP_CLIENT_REFRESH_MISS/200 1017 GET > http://kubok.yandex.ru/i/artlebedev.gif evg DIRECT/213.180.204.2 > image/gif > 1128764141.170 6090 127.0.0.1 TCP_CLIENT_REFRESH_MISS/200 5270 GET > http://kubok.yandex.ru/i/top6.gif evg DIRECT/213.180.204.2 image/gif > 1128764165.720 580 127.0.0.1 TCP_CLIENT_REFRESH_MISS/503 1112 GET > http://u1386.48.spylog.com/cnt? evg NONE/- text/html > -----8<-------------------------------------- > I have in config > acl QUERY urlpath_regex cgi-bin \? > no_cache deny QUERY > So it`s no surprising with u1386.48.spylog.com/cnt?, but why get > extra 3 images ? Squid doesn't look inside HTML contents. HTTP headers for each of the images would be more appropriate to look at. Try HEAD http://... (if you have perl installed). Make sure it uses your squid as a proxy. Setting environment variable http_proxy should be enough. -- Best regards, Andrey Shorin
