Forum Discussion
Dave_Wiley
Nimbostratus
Sep 27, 2006LB based on XML
Greetings all!
I am trying to write an iRule using iRule XML commands, but just realized that the documentation shows that I need an EA key in order to use them. So instead of using XML, I'm using the iRule below and I'm just searching the payload for
[Subscriber ID]
So my iRule is pretty simple anyway and would probably look like this:
when HTTP_REQUEST {
set subid [findstr [HTTP::payload] "" 8 "<"]
if { $subid = "687ABCD" } {
These are acutally going to be matchclass statements with multiple
classes.
use pool_one
} else {
use pool_two
}
}
BUT, has anyone created an iRule to do this with the XML commands?
Thanks!
Dave
No RepliesBe the first to reply
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