[squid-users] Caching in accelerator mode

From: Jez Ahl <Jez@dont-contact.us>
Date: Tue, 22 May 2001 17:01:04 +0100

Hi All,

Apologies if this has been covered, but I can find no explanation.

We are running multiple instances of squid-2.3STABLE2 on Solaris 7 in
reverse proxy mode.
All requests hit a master, non-caching squid. Requests are then redirected
(based on URL) to further squids (on localhost) by way of a redirector
script.
This allows us to proxy many sites through one box, each with their own
separate cache.
In this case, one of the sub-caches redirects to two different sites by way
of another redirector. e.g. to http://www.sitea.com/ and
http://www.siteb.com

What we are finding is that a page request to one site. eg
http://www.sitea.com/somepage.htm gets cached, but when someone requests
http://www.siteb.com/somepage.htm, they get the cached page that was served
from sitea. It's as if squid is not caring what the requested hostname is.

Our config is:

redirect_program /opt/squid/bin/rewriter
redirect_rewrites_host_header off
visible_hostname www.sitea.com
httpd_accel_host localhost
httpd_accel_port 8002 (This is the port of this squid)
httpd_accel_uses_host_header on

Any ideas how I can stop this happening?

Any help will be appreciated.

Jez Ahl
Senior Systems Administrator
Andel Consulting Ltd
Tel 020 7663 5772
Fax 020 7665 5060
jez@andelconsulting.com

Unless otherwise stated the views expressed in this email are personal and
not those of Andel Consulting.
Received on Tue May 22 2001 - 10:01:19 MDT

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