> >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? On 13.01.07 04:47, Jeff Pang wrote: > 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'}". $_SERVER['HTTP_X_FORWARDED_FOR'] should work in php (too?). -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "One World. One Web. One Program." - Microsoft promotional advertisement "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler