Forum Discussion
Gio_129629
Nimbostratus
Dec 16, 2014switch host different VIP port
hello guys,
I ask you to support the configuration of an iRule.
I have a VIP on port 8888 to which I would like to associate an iRule that allows me to direct traffic depending on a host of pool rath...
Sheigh_65772
Cirrus
Dec 16, 2014I may be missunderstanding the question but based upon what you already have in your iRule maybe something like this is what your looking for:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"url1.domain.com" {
pool Pool1
}
"url2.domain.com" {
pool Pool2
}
}
}
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