Forum Discussion
gpoverland
Nimbostratus
Jul 08, 2008IRule that rewrites URI based on Pool or PoolMember Selected
I am trying to create an Irule that selects to rewrite a URI based on which pool member is chosen. Why you ask, well this is to accomodate the slow migration from an older application to a newer appli...
gpoverland
Nimbostratus
Jul 08, 2008Better yet.. will something like this work?
when HTTP_REQUEST {
if {[LB::server addr] eq "172.29.58.3" or "172.29.58.4"} {
if { [HTTP::uri] contains "/GSFO/GSFOPub"} {
HTTP::uri "/Async/CMReceive.ashx"
use pool b2b-iad1-test
}
elseif { [HTTP::uri] contains "/ERA/ERAPub" } {
HTTP::uri "/Async/ERAReceive.ashx"
use pool b2b-iad1-test
}
}
use pool b2b-iad1-test-legacy
}
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