Forum Discussion
Gill_32697
Nimbostratus
Oct 21, 2012help making redirect irule
Im new to irules, need some help writing a irule
vip: 10.1.255.32
node: 10.13.0.61
node: 10.0.1.213
Web programer wants any http request with
http://test.com/Akcelerant/… ...
Gill_32697
Nimbostratus
Oct 22, 2012Below is my irule, Im also showing the uri paths I need. I just don't know how to add more to the irule to include
the other uri paths. As you can see I've added the Akcelerate uri path. But how do I add the rest?
I know is has to contain more IF staetments, but I don't know how to write it. I new to the irules.
-http://test.com/IDSAkcelerant/…
-http://test.com/LMAkcelerant/…
-http://test.com/IDSAkcelerantMTG/...
----- this is the irule im writing ---------------------------------------------------------
when HTTP_REQUEST {
if { [HTTP::uri] contains "Akcelerant" } {
pool Server1-pool
} else {
pool Server2-pool
}
}
Thanks.
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