Working with Clusters and Match Rules
URI Function
Description
filename(string)
This function evaluates to
true
if the
string
argument exactly matches the file-
name portion of the URI path.
This portion includes only the text after the last
trailing path component separator (/), as that is considered part of the directory
(for example, “file.html” is the filename portion of “/foo/bar/file.html”)
.
filename_prefix(string)
This function evaluates to
true
if the
string
argument is a prefix of the filename
portion of the URI path.
filename_suffix(string)
This function evaluates to
true
if the
string
argument is a suffix of the filename
portion of the URI path.
filename_substr(string)
This function evaluates to
true
if the
string
argument is a substring of the file-
name portion of the URI path.
filename_regex(string)
This function evaluates to
true
if the
string
argument, interpreted as a regular
expression, matches the filename portion of the URI path.
query(string)
This function evaluates to
true
if the
string
argument exactly matches the
(optional) query component of the request URI. The query, if present, appears in
a URI following a question mark (?). The syntax of a query is application specific,
but generally is a sequence of key/value pairs separated by an ampersand (&).
query_prefix(string)
This function evaluates to
true
if the
string
argument is a prefix of the query por-
tion of the URI path.
query_suffix(string)
This function evaluates to
true
if the
string
argument is a suffix of the query por-
tion of the URI path.
query_substr(string)
This function evaluates to
true
if the
string
argument is a substring of the query
portion of the URI path.
query_regex(string)
This function evaluates to
true
if the
string
argument, interpreted as a regular
expression, matches the query portion of the URI path.
Match Rule Operators
Match Rule Operators are as follows:
l
II -
logical OR operator
l
&& -
logical AND operator
l
! -
logical NOT operator
l
()
- used to group functions and operators
396
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......