Map URI /foo to Tomcat /
I have the following situation.
Apache with mod_jk connected to a Tomcat. The Applications Root context is /
What I try to do is the following
Map the URI /foo/ to the application root / www.domain.com/foo/ should then show the webapp.
I tried several RewriteRules but it all ends up with a 404 from the Tomcat. Is there a way to "hide" the /foo/ URI so Tomca开发者_JS百科t gets a request for / ?
TIA Izac
You should post your config so we know what went wrong, but
ProxyPass / http://www.domain.com/foo
ProxyPassReverse / http://www.domain.com/foo
Using proxy reverse.
精彩评论