URL Path Wildcard

Applies To:
HTTP Large
HTTP Small
ADN
HTTP Rules Engine - Basic Rules
HTTP Rules Engine - Advanced Rules

Purpose: Compares a request's relative path to the specified pattern.

An option is provided to indicate whether this condition will be met when the exact URL path "Matches" or "Does Not Match" one of the specified URL patterns.

Learn more about the core differences between the various URL path match options.

Key information:

Tip: If you would like to see the applicable content access points for your account, please select either the "CDN Origin" or the "Customer Origin" match options.

Sample Scenarios

The following example demonstrates how this option works in specific situations:

Value Relative To Result
*/test.html */test.php Root This pattern will be satisfied by assets named test.html or test.php in any folder.
/80ABCD/origin/text/* Root This pattern will be satisfied by all CDN URLs that start with the CDN hostname followed by "/80ABCD/origin/text/." This includes all assets and subfolders recursively under the text folder.
*/css/* */js/* Root This pattern will be satisfied by all CDN or edge CNAME URLs containing a css or js folder.
*.jpg *.gif *.png Root This pattern will be satisfied by all CDN or edge CNAME URLs ending with .jpg, .gif, or .png. An alternative way to specify this pattern is the "URL Path Extension" match option.
/images/* /media/* Origin

This pattern will be satisfied by all edge CNAME URLs that contain an "images" or "media" folder directly after the content access point.

Reminder: Setting the Relative To option to "Origin" requires that this match option be nested under a CDN Origin or Customer Origin match option.