How to setup tomcat proxy so that, e.g., /proxy/http/220.127.116.11/index.html causes Tomcat to proxy http://18.104.22.168/index.html?
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:
<rule> <from>^/proxy/http/[^/]+/(.*)</from> <to type='proxy'>http://$1/$2</to> </rule>