Search squid archive

Re: Squid2.6 Reverse Proxy question

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

 



>
>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/

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

  Powered by Linux