Forum Discussion
DataGroup 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.
1 Reply
- 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 } }
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