Forum Discussion
Leonardo_Souza
Apr 28, 2017Cirrocumulus
Use the URI::query instead of HTTP::query.
This page explains what is, and has examples in how to use:
https://devcentral.f5.com/wiki/iRules.URI__query.ashx
Should be something like this (not tested iRule):
when HTTP_REQUEST {
if { [HTTP::path] starts_with "/path/" }
{
if { [URI::query [HTTP::uri] "value"] ne "true" }
{
blocking action
}
else
{
ignoring action
}
}
}