Reply
Administrator
mgyles
Posts: 26
Registered: 10-20-2011
0

Re: Using the Traffic Manager to build a HTML page from two different servers

Hi and welcome to the Riverbed Community Forum.

 

With regards to your first question, what you are looking to achieve is entirely possible using the Traffic Manager and TrafficScript.

 

Your second question is also something that can be achieved and you would need to look at using the following as part of the solution:

 

http.request.get()

 

If this is something that you would like further assistance in implementing, we would recommend you contact your dedicated account manager who will be more than happy to assist you with your requirements.

 

Thanks,

Fry
sbhachu
Posts: 1
Registered: 11-22-2011
0

Using the Traffic Manager to build a HTML page from two different servers

Hi all,

We are in the process of migrating a website to a new platform. We want to run the sites in parallel until all the functionality is moved over and to prevent major changes to the old system, we need to serve the legacy pages with the new page layout (headers / footers / menus etc.) from the new platform.

Is it possible to write a traffic manager script (preferably using the Java Extension) so when a request is made on the new platform and a specific marker tag is found in response body, a new call is made to the legacy server to retrieve the html, rewrite any absolute links and replace the marker tag to produce a new combined page?

If this is possible, what API would I need to make the legacy system call and would I be able to preserve request headers and response headers being sent back and forth. The session cookies for both platforms are both different so hopefully these will not conflict.  

Any help would be appreciated.

Thanks,
Surjit

 

 

‬‪‬‪‬‪