-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Elli,
On 12/17/2009 10:45 PM, Elli Albek wrote: > A note on reverse proxy: > request.getRemoteIP() will normally return the IP of the proxy and not > the IP of the client. This is a good point, but only pertains to HTTP proxying. If you use AJP, the connector automatically sets the "remote IP address" to that of the outside IP, not the IP address of your Apache httpd server. It's still possible that additional proxying is being performed, and you may still have to use this technique to get the "real" IP address. On the other hand, you can never be sure which IP address is correct for the remove client. :( - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksrxy0ACgkQ9CaO5/Lv0PCMhQCfbKxWdVRsKWqYgoY5VbJFU3dG FCkAn13UErQ1kyQQ12n13h2HVyqeStjf =agHU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org