Hi Amani,

LB is the best place to do this URL mapping. Because these sort of stuff
are not concerns of a particular Stratos service. If you look at other H/W
load balancer, this features comes by default. I think it is the high time
to implement this functionality in our WSO2 LB.

Thanks,
Sameera.

On Tue, Feb 14, 2012 at 3:26 PM, Amani Soysa <[email protected]> wrote:

> 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
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to