Re: [squid-users] host property not accesible with squid accel

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 28 Sep 2007 16:35:35 +1200 (NZST)

> Hello.
> Currently running squid in http accel mode. We need to determine the
> initial request host. We are running tomcat behind squid.
>
> Basically if a user goes to ddd.com or ddd.es we need to be able to figure
> out which one he/she came from. However, all I get is
> 127.0.0.1 as the host.
>

Is your squid configured to use a redirector to move those two domains to
tomcat? Squid will re-write an redirected domains Host: header.

You need a cache_peer X parent 80 0 ... setup to pass on unaltered headers
to tomcat (or other sources).

Amos
Received on Thu Sep 27 2007 - 22:35:55 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT