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