Forum Discussion
Brijesh_Rana_27
Nimbostratus
Apr 16, 2019Error while creating a irule
I am getting below error while creating a irule in F5 LTM. Could someone assist in this ?
when ACCESS_ACL_ALLOWED { if {[string tolower [HTTP::uri]] contains "/scjbos"} || {[string tolower [HTTP::uri]] contains "/biznc"} "} { pool /Common/Bizagi_QA_SCJ_Pool return } else { log local0. "packet discarded" discard } }
- Stanislas_Piro2
Cumulonimbus
ACCESS_ACL_ALLOWED Is not a LTM event but an APM event.
Replace it with HTTP_REQUEST
- CharlesCS
Cirrus
I think some of the braces should be replaced by parentheses. Try this:
when HTTP_REQUEST { if { ( [string tolower [HTTP::uri]] contains "/scjbos" ) || ( [string tolower [HTTP::uri]] contains "/biznc" ) } { pool /Common/Bizagi_QA_SCJ_Pool return } else { log local0. "packet discarded" discard } }
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