Hi

We have a requirement to map custom context to stratos web application/
Services. And currently we are looking how this can be done in the load
balancer side.
Our main requirement is to map a service hosted in a tenant to be map to a
given domain.

For example

  https://appserver.stratoslive.wso2.com/services/t/amani123.com/FooService/to
https://FooService.com/

and the wsdl/try it urls should change accordingly.

In order to do this loadbalancer should identify https://FooService.com/ is
a request which should be sent for
https://appserver.stratoslive.wso2.com/services/t/amani123.com/FooService/and
request should get forward to
https://FooService.com/ without changing the browser URL. (Or else we need
to have a tomcat valve to foward the URL in the tomcat side itself)

Can this be done using URLRewrite mediator? (if we store the two URLs in a
data store and let the load balancer knows the mapping)?

Regards,
Amani
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to