开发者

Map URI /foo to Tomcat /

开发者 https://www.devze.com 2023-03-29 02:59 出处:网络
I have the following situation. Apache with mod_jk connected to a Tomcat. The Applications Root context is /

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消