Joe_46466
May 21, 2009Nimbostratus
URL Rewriting of Hostname
We are upgrading a web farm, named "FarmA" and have built its replacement on new hardware. I have created a new pool named "FarmB". What I would like to do is this:
As applications are migrated from FarmA to FarmB they will have their IIS directory set to be a redirection on FarmA to FarmB, so that when the users type "http://FarmA/AppA/Index.htm" they will be redirected to "http://FarmB/AppA/Index.htm"
I would like to have an iRule in-place on FarmB to rewrite the URL so that the client sees the final address in their browser as "http://FarmA/AppA/Index.htm". This way no reference names have to change, bookmarks will still work, and the users will not know they are on the new farm.
Is this possible to achieve via an iRule? If so, can you provide an example?
Any help would be greatly appreciated!