Forum Discussion
Michael_Mau_108
Nimbostratus
Jul 09, 2008Problem with I-rule that routes based on payload information
I have an i-rule that I am writing, to route requests to particular pool members based on information within a clients payload. The rule synxtax is below.
when HTTP_REQUEST ...
hoolio
Cirrostratus
Jul 09, 2008Hi Mike,
I think the issue is with the hyphen in the class name. If you really need the hyphen, you can reference it using braces ${::maui-qos}. If that doesn't fix the issue, then check what's in the class compared with the payload. Can you add a log statement with [HTTP::payload] and $::maui-qos?
log local0. "\[HTTP::payload\]: [HTTP::payload], \${::maui-qos}: ${::maui-qos}"
Also, you should be able to replace the two checks to see if the pool member is down or disabled with one check to see if it's "up".
Aaron
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
