Re: [squid-users] http_accel question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 01 Oct 2001 19:58:46 +0200

Please enable log_mime_hdrs, and then send one access.log line where you
think Squid should not have contacted the backend server.

Regards
Henrik Nordström
Squid Hacker

AJ Lemke wrote:
>
> Hello all!
>
> We are running a squid box offsite in acceleration mode, and we have noticed
> that the box queries the backend servers everytime a page is hit even though
> the site is cached. We are able to tell this because of a timestamp within
> the site.
> The backend servers are Windows 2000 Server w/IIS 5, all the latest patches.
> The Squid box is Red Hat 7.1, and squid 2.4Stable2.
>
> Here is the Squid.conf file.
>
> http_port 80
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_dir ufs /var/spool/squid/cache 100 16 256
> cache_access_log /var/log/squid/access.log
> cache_log /var/log/squid/cache.log
> cache_store_log /var/log/squid/store.log
> refresh_pattern . 10 20% 4320 override-expire override-lastmod
> ignore-reload reload-into-ims
>
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl SSL_ports port 443 563
> acl Safe_ports port 80 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 563 # https, snews
> acl Safe_ports port 70 # gopher
> acl Safe_ports port 210 # wais
> acl Safe_ports port 1025-65535 # unregistered ports
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl CONNECT method CONNECT
>
> httpd_accel_host mysite.com(NOTE: Not real Site)
> httpd_accel_uses_host_header on
> cache_mgr admin@securitylabs.com
> cache_effective_user cache
> cache_effective_group cache
> httpd_accel_port 80
> httpd_accel_with_proxy off
> acl accelerated_servers dst 208.248.xx.xx 208.248.xx.xx 208.248.xx.xx
> http_access allow accelerated_servers
> http_access allow all
> emulate_httpd_log on
>
> Any help on this or where to look for help would be greatly appreciated.
>
> Cheers,
>
> AJ Lemke
> Security Labs Ltd.
> www.securitylabs.com
> 605.367.0000
Received on Mon Oct 01 2001 - 12:40:41 MDT

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