Forum Discussion
TridipLenka_316
Nimbostratus
Jul 12, 2017iRule redirection to different port
i have configured a web service as below
VIP : abc.com:443
pool members:
10.100.10.1:8843
10.100.10.2:8843
but i want to redirect if any user comes with extension "xyz" as https://abc....
P_K
Altostratus
Jul 12, 2017Creating a new pool and redirecting traffic based on your uri should work seamlessly.
when HTTP_REQUEST {
if { [string tolower[HTTP::host] eq "abc.com"] && [string tolower[HTTP::uri] starts_with "xyz" ] } {
pool pool_7143
}
else {
pool default_pool
}
}
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