Re: [squid-users] Squid2.6 Reverse Proxy question

From: Jeff Pang <[email protected]>
Date: Sat, 13 Jan 2007 04:47:57 -0500 (EST)

>
>Hi all
>May I know how to let real http servers see the client's IP (for php access
>control) in reverse proxy mode ? do squid2.6 have this feature?
>
>

Squid record the clients' IP addr by default,notice for the "forwarded_for" section in squid.conf.
You can get it via http environment variable,for CGI,it's "$ENV{'HTTP_X_FORWARDED_FOR'}".

--
Books below translated by me to Chinese.
Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/
Squid the Definitive Guide: http://home.earthlink.net/~pangj/squid/
Received on Sat Jan 13 2007 - 02:47:59 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST