Forum Discussion
KT
Nimbostratus
Dec 16, 2021Need help to understand the iRule
switch -glob [string tolower [HTTP::uri]] { "/online*" { set is_redirected "legacy" } } switch $is_redi...
Dec 17, 2021
First it checks the URI. If it is starting with "/online*" the variable 'is_redirected' is set to "legacy".
Next, it's checking if the "is_redirected" variable is set to "legacy". If it matches "legacy" it will check if pool member 1.1.1.1:80 is up. If it is up, it will make a new load balancing deciscion and set's the selected pool member to 10.101.83.80. If 1.1.1.1:80 is down, it will make a new load balancing deciscion and set's the selected pool member to 2.2.2.2:80.
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