开发者

How do you redirect context roots in WebSphere 7?

开发者 https://www.devze.com 2023-01-19 18:23 出处:网络
How do you map 2 context roots to one application in WebSphere 6. For example,I have an application with a context root of \"/\", which is obviously the default application.I want requests directed a

How do you map 2 context roots to one application in WebSphere 6.

For example, I have an application with a context root of "/", which is obviously the default application. I want requests directed at context root "/sample" to be redirected to the "/" path.

Thanks!开发者_如何学JAVA


I think you must do that on the http server's configuration side instead WebSphere's side. Are you using a front http server?


You are correct, Thanks.

I added this to the config file of the HTTP server

ProxyPass  /sample/  /
0

精彩评论

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