Forum Discussion
dlegate_23320
Nimbostratus
Mar 09, 2012iRule to Migrate to new server based on URL (directory) text?
Can iRules direct requests to a specific server/s based on text in the URL?
Scenario:
We have an old production server (physical) that is NOT load balanced.
We have new v...
Hamish
Cirrocumulus
Mar 09, 2012Just an aside. Although doing the globs above is quick and easy (and performs well too), you will run the risk of breaking your site a little if you get the irule wrong when editing it on the fly (changing logic is always interesting ;) and if you have a lot of sites it will quickly get to be quite long...
To reduce risk of breaking migrated apps wth the change to add new ones I'd use a datagroup and a lookup via the [class ...] commands.
You could always use the ProxyPass iRule from the codeshare too... New sites are then just a datagroup edit away. (In fact id recommend reading the ProxyPass iRule anyway. It will show you a lot of stuff thats possible with an iRule).
H
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
