Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to setup tomcat proxy so that, e.g., /proxy/http/ causes Tomcat to proxy

share|improve this question
Are you trying to make an open proxy where any IP address substituted for works; or just one specific destination server? – Chris S Mar 12 '10 at 14:30

This looks possible via urlrewritefilter. (A filter which can be used in Tomcat or any servlet engine) The rule would look like this (untested) but should work according to the docs:

   <to type='proxy'>http://$1/$2</to>

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.