Forum Discussion
Jacob_Kinkade_3
Nimbostratus
Jul 17, 2017Need help with irule
Looking for feedback on irule for redirect. I am a network engineer who had our loadbalancers dumped in my lap and a request for an irule to be placed.
Not familiar at all with how to do this but I...
P_K
Altostratus
Jul 17, 2017Hope this work..
- Create this irule under Local traffic --> iRules
- Apply it to your virtual server under Local Traffic --> Virtual servers and once you are in the virtual server properties page, click Resources tab from top, add the irule you created in iRule section.
when HTTP_REQUEST {
if { string tolower [HTTP::uri] equals "/index" } { HTTP::uri "/location" node Insert_IPaddress_Of_srv-one-games001-test Port_of_srv-one-games001-testExample: node 10.10.10.10 8080
}
else {
Default_pool //Change this to your default pool name
}
}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
