Forum Discussion
Hi I want to validate weather am i using right i-rule for XML redirect or not?
Hi I want to validate weather am i using right i-rule for XML redirect or not? I have implemented below i -rule in production. How can i validate is it working fine or not? any suggestion? i disable log locl0 is that work ?
when HTTP_REQUEST { if { !( [HTTP::uri] contains "api/rest" )} { persist source_addr 255.255.255.255 3600 } } when XML_CONTENT_BASED_ROUTING { log local0. "XML Detected" for {set i 0} { $i < $XML::count } {incr i} { log local0. $XML::queries($i) log local0. $XML::values($i) if {($XML::queries($i) contains "dial-in-number")} { persist uni $XML::values($i) } } }
1 Reply
- Kevin_Stewart
Employee
Are you saying the above iRule doesn't work? You're not specifically performing any redirects. You're just forcing persistence to different tables (source_address and uni). Is that intended?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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