Forum Discussion
maxas_59256
Mar 25, 2012Nimbostratus
HTTP:uri NOT contain
Hi, Can someone help me with following? I am trying to add additional condition (http:query not contain) after the 'and'.
This way it doesn't work: if { [[string tolower [HTTP...
hooleylist
Mar 25, 2012Cirrostratus
Hi Maxas,
What's the order of precedence you want? A || B && C isn't clear to me. Also, what are you trying to do with the ? in the second check? Are you trying to match a literal ? or any single character? Here's a guess at what you're trying to do:
if { ([string tolower [HTTP::path]] contains "/abc/" || [string tolower [HTTP::path]] contains "/abc?"]) and not ([string tolower [HTTP::query]] contains "def")}
Aaron
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