Edge Rules are invoked when they match what is defined in the Match Criteria fields. This article aims to explain the different Match Types you can select when creating an Edge Rule.
Rules are matched against request URIs. For a given URI only a single rule will be applied.
Setting the Match Criteria
There are four different match types which match on the URI.
-
Exact Matches the URI exactly as defined. For example if you provide a URI of
/images/logo.png
this will only match that URI exactly. -
Literal Matches the URI with an implied wildcard after. For example if you provide a URI of
/images
this will match/images/logo.png
or/images/foo/bar/logo.png
. - Regular Expression A valid PCRE regular expression to match against the URI.
-
Default This is the default URI block, meaning any URIs that don't match any other existing rules, will use this rule. Setting a default match type is optional. There can only be one default match type rule defined per zone.