Andy
Andy

Reputation: 8949

How do you redirect context roots in WebSphere 7?

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!

Upvotes: 0

Views: 2137

Answers (2)

Andy
Andy

Reputation: 8949

You are correct, Thanks.

I added this to the config file of the HTTP server

ProxyPass  /sample/  /

Upvotes: 1

svachon
svachon

Reputation: 7716

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

Upvotes: 1

Related Questions