Forum Discussion
Jon_Sumpster_37
Nimbostratus
Oct 24, 2018Port forwarding based on FQDN and URI match
Hi,
I'm splitting a web application into two instances to allow them to organically change over time without impacting each user community.
At the moment, the F5 uses the FQDN to forward t...
Kevin_Stewart
Employee
Oct 24, 2018-
Create two pools, one for each set of instances listening on the respective application port (55543 and 55544).
-
Create a simple iRule that switches between them based on URI:
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/new*" { pool pool_55544 } default { pool pool_55543 } } } -
Enable OneConnect on the VIP if you expect users to be flipping between the pools mid-session.
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