Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2013-10-09T06:15:20Z by David07
YothA.
YothA.
2 Posts
ACCEPTED ANSWER

Pinned topic Route http requests to different domains in DPA based on URI

‏2013-10-08T03:20:14Z |

Hi!

I am new in DPA development and need help with the following.

Scenario:

1. I have three application domains in DP and each domain hosts a different service:

       a. domain #1: router.bucs.com

       b. domain #2: dom.bucs.com

       c. domain #3: sem.bucs.com

I am using domain #1 (router,bucs.com) as the routing domain to route HTTP requests to the other two domains (dom.bucs.com and sem.bucs.com). Fir example: if the client types http://dphost:80/dom.bucs.com in browser, the request should be routed to a WSP (domservice)  in dom.bucs.com domain. If the client types http://dphost:80/sem.bucs.com in browser, the request should be routed to a WSP (semservice)  in sem.bucs.com domain. Basically, the routing is based on the first word (dom or sem) in the URL.

What is the simplest way of doing this?

 

Thanks

YA