Re: [squid-users] Transaprent Acceleration

From: Christoph Haas <email@dont-contact.us>
Date: Thu, 22 Dec 2005 20:26:59 +0100

On Thursday 22 December 2005 19:21, Jerry Thomas wrote:
> I have a need to accelerate some web servers but they must see the
> client IP address as the source of the connection.

Not possible with Squid (in a way that keeps you mentally sane). Let the
web servers use the X-Forwarded-For header instead or use this hack in the
Apache config if you are dealing with CGIs:

SetEnvIf X-Forwarded-For (.*) REMOTE_ADDR=$1

Some dedicated hardware may handle that but those are usually also OSI
layer 2 switches. Squid is "just" a layer on top of TCP/IP.

 Christoph

-- 
~
~
".signature" [Modified] 1 line --100%--                1,48         All
Received on Thu Dec 22 2005 - 12:27:04 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:03 MST