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....
kohli9harjeev
Nimbostratus
Jul 12, 2017Hi,
You dont need to create a separate pool for it. You can just create a node for the same
when HTTP_REQUEST { if {[string tolower[HTTP::host] eq "abc.com"] && [string tolower[HTTP::uri] starts_with "xyz" ] } { node 10.100.10.1 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