Forum Discussion
KTrout_49248
Nimbostratus
Apr 16, 2008HTTP redirect to Pools members
How can I create an iRule that will redirect a specific URL to a pool of Web servers hosting the website?
Kevin_Stewart
Employee
Apr 16, 2008Try this:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/url1" {
pool pool1
}
"/url2" {
pool pool2
}
default {
pool pool1
}
}
}Kevin
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