Purpose: Identifies requests by their relative path.
For the purposes of this match option, this relative path does not include the filename of the requested asset. An option is provided to indicate whether this condition will be met when the 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:
The following example demonstrates how this option works in specific situations:
Value | Relative To | Result |
---|---|---|
*/Location1/ */Location2/ | Root | This pattern will be satisfied when the parent folder for the requested asset is called either "Location1" or "Location2." |
/800001/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 images folder. |
*/css/* */js/* | Root | This pattern will be satisfied by all CDN or edge CNAME URLs containing a css or js folder. |
/images/* /media/* | Root | This pattern will be satisfied by all edge CNAME URLs that contain an "images" or "media" folder directly after the hostname. |
*css* *js* *images* *media* | Root |
This pattern will be satisfied by all URLs that contain any of the following words in the relative folder path: css, js, images, or media. The following sample URL path would be a match for this criteria due to the presence of "js":
|