Forum Discussion
Devonion_22138
Nimbostratus
May 14, 2012Redirect to test server and rewrite returned links
I'm trying to write an irule so that I can use a cloned live webserver to test a PHP upgrade.
irule basically changes host header from www.dev.ourserver.com to www.ourserver.com and this part works ...
Michael_Yates
Nimbostratus
May 14, 2012Hi Devonion,
Have you considered using a Stream Profile?
This can be done with the default LTM Stream Profile or via an iRule that uses the STREAM::expression, STREAM::enable, and STREAM::disable commands.
This is the methodology that is used where I work to allow the same production code to be promoted through the test environments without being changed, but allows the different environment URL's to be modified on the fly.
Hope this idea helps.
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