Forum Discussion
Robert_47833
Aug 08, 2011Altostratus
questions on HTTP::header replace Host
Hi,dear irule
I have 2 datacenters,due to some operation,we need to forward traffic on site1 to site2
site1 and site2 have the same domain name www.cjj.com
However ,they can be dif...
The_Bhattman
Aug 08, 2011Nimbostratus
Hi Jucao,
You would want to to use HTTP_RESPONSE so that the client's browser redirects to the site2, preserving the URI on the browser. Setting the node to site 2 will basically mean to connect to site2 you need to connect through site 1 LTM potentially adding latency to the client.
The following is an excellent article on HTTP Redirects and their many different ways to accomplish this with specific results
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/220/Rewriting-Redirects.aspx
I hope this helps
Bhattman
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects