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

2006-07-15 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: This is a question for the user list, it might be better for you to take the inquiries there, and you shouldn't need to hack tomcat for something like this. Simply create a filter, that wraps your HttpServletRequest in a HttpServletRequestWrapper, worst case you

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

2006-07-15 Thread Johan van den Berg
Then why was proxyPort and proxyName not done in a Valve or Filter? I assumed that I should be following the same route that other, similar requirements followed. With regards to a Filter, what if I have 30 webapps, and each one needs the correct request.getRemoteAddr? Could one map a filter globa