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. > > <code> > RewriteRule ^/www/(.*\.xyz)$ http://127.0.0.1:8080/webapp/$1 [P] > </code> > > Now when I examine the request object with e.g. > > <code> > request.getRemoteAddr(); > </code> > > I (of course) get "127.0.0.1". > > So my question is: Is there a way to get the "real" remote address (the > remote address _before_ it get's rewritten) with this scenario? > > Many thanks in advance > Dilino > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]