Forum Discussion
jmusci_327228
Nimbostratus
Mar 21, 2018DataGroup and URI
Hi, anyone may help me? I have some error on this rule:
when CLIENT_ACCEPTED { if { [[class match [IP::client_addr] equals DG_POOL_CLIENTI] ne " "] && [ [HTTP::uri] starts_with "/customaaws/customAAInterface"] } then { pool XXXX } else { drop } }
Any suggestions ? Thanks.
- Lee_Sutcliffe
Nacreous
I have reformatted your iRule for you, you were using square parenthesis to group each side of the 'and'. I also removed the 'ne " "' as this would not have worked - Please clarify what you intended by this Please try the following:
when HTTP_REQUEST { if {([class match [IP::client_addr] equals DG_POOL_CLIENTI]) && ([HTTP::uri] starts_with "/customaaws/customAAInterface")} { pool XXXX } else { drop } }
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