Forum Discussion
John_Stevensen
Mar 07, 2012Nimbostratus
IRULE FAIL: PARSE syntax 59 {syntax error in expression " [active_members pool_POOL5] = 1": extra tokens at end of expression}]
Trying to create an IRULE that:
Check for existence of a string in a URI - if string exists - assign to pool_POOL5 only if pool_POOL5 is alive (active_members = 1)
...
Hamish
Mar 07, 2012Cirrocumulus
You're missing an '=' in the numerical comparison e.g.
when HTTP_REQUEST {
if { [active_members pool_POOL5] == 1} {
if { [HTTP::uri] contains "EA/Clinical/MedicineAssociatesECD.nsf" } {
pool pool_POOL5
}
} else {
pool pool_POOL1
}
}
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