开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜