An L7 Rule is a single, simple logical test which returns either true or
false.
Type:
The L7 rule type. One of "Cookie", "File Type", "Header", "Host Name" or "Path".
-
Cookie: The rule looks for a cookie named by the key parameter and
compares it against the value parameter in the rule.
-
Header: The rule looks for a header defined in the key parameter
and compares it against the value parameter in the rule.
-
File Type: The rule compares the last portion of the URI against
the value parameter in the rule. (eg. "txt", "jpg", etc.)
-
Path: The rule compares the path portion of the HTTP URI against
the value parameter in the rule.
-
Host Name: The rule does a comparison between the HTTP/1.1
hostname in the request against the value parameter in the rule.
Compare Type:
The comparison type for the L7 rule. One of "Contains", "Ends With",
"Equal To", "Regex" or "Starts With".
-
Regex: Perl type regular expression matching.
-
Starts With: String starts with.
-
Ends With: String ends with.
-
Contains: String contains.
-
Equal To: String is equal to.
Key:
The key to use for the comparison. For example, the name of the cookie
to evaluate.
Value:
The value to use for the comparison. For example, the file type to compare.
Invert:
When true the logic of the rule is inverted. For example, with invert
true, equal to would become not equal to.