Ok, sorry for bugging you. I overlooked the fact that I get the
following headers:
x-forwarded-for: 1.2.3.4
x-forwarded-host: abc.com
x-forwarded-server: abc.com
Dilino
Dieter Schicker wrote:
> Hi,
>
> I'm running Tomcat 6.0.14 behind an Apache with mod_rewrite proxying.
>
>
> RewriteRule ^/www
Hi,
I'm running Tomcat 6.0.14 behind an Apache with mod_rewrite proxying.
RewriteRule ^/www/(.*\.xyz)$ http://127.0.0.1:8080/webapp/$1 [P]
Now when I examine the request object with e.g.
request.getRemoteAddr();
I (of course) get "127.0.0.1".
So my question is: Is there a way to get the "