Re: Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-15 Thread Johan van den Berg
this. > Simply create a filter, that wraps your HttpServletRequest in a > HttpServletRequestWrapper, > > worst case you could create Valve that does it for you, either way, you > can avoid changing tomcat code. > > Filip > > Johan van den Berg wrote: > > Hi >

Patch to override request.getRemoteAddr if behind a reverse proxy

2006-07-14 Thread Johan van den Berg
er is then used (if available) to return the *real client IP to the caller of request.getRemoteAddr or request.getRemoteHost. Extract from server.xml: Let me know if it is of any use to anyone else! Regards -- Johan van den Berg Technical Webmaster University of South Africa Cel: +27 73 20