Squid & REMOTE_ADDR

From: Brad Groshok <brad@dont-contact.us>
Date: Wed, 23 Jun 1999 02:35:26 -0400

Evening all (again).

Squid up and running like a dream on a PII-350,768Meg-ram on FreeBSD, 3*9Gig.
Running transparent mode with cisco router. Squid Cache: Version 2.2.STABLE3

Problem I'm having is:
On a couple of our Sun Web servers (apache) we have some cgi programs that
rely on the REMOTE_ADDR field to contain the ip address of the customer
that is running the CGI (used for identifying local customers in data-base).
Anyway with Squid running the REMOTE_ADDR as far as the cgi program is
concerned is the ip address of the squid server, instead of the ip address
of the dialed-in customer.

I've run through the squid.conf file and tried a couple possibilities, but
basically struck out.

There might be a couple ways to skin this cat, but basically I guess I'm
looking to allow requests to pass right through squid if they are accessing
particular cgi programs or maybe even all cgi's hosted under a certain domain.

Any help/pointers greatly appreciated.

    _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   _/ Regards: Brad Groshok (bgroshok@odyssey.on.ca) _/
  _/ President Odyssey Network Inc. http://www.odyssey.on.ca _/
 _/ London Ontario Canada PH:(519)660-8883 Fax:(519)660-6111 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Received on Wed Jun 23 1999 - 00:31:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:57 MST