Forum Discussion
bjtstarks_26108
Nimbostratus
Jan 15, 2019How to use Lists in iRule
I'm trying to do a redirect to a specific node for a specific set of sites using our F5. I can do a single site easily using the following irule:
when HTTP_REQUEST {
if { [string tolower [HTT...
Stanislas_Piro2
Cumulonimbus
Jan 16, 2019Better solution is to configure local traffic policies!
With local traffic policy, create a new policy with one rule
- name redirect
-
condition :
-
http- host host is in
- site1.mysite.com
- site2.mysite.com
- site3.mysite.com
-
http- host host is in
-
action :
- forward node 1.2.3.4
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
