Search squid archive

Re: host property not accesible with squid accel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux