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 "/custom...
Lee_Sutcliffe
Nacreous
Mar 21, 2018I 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
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