URL Path Literal
HTTP Large
HTTP Small
ADN
Purpose: Compares a request's relative path to the specified value.
An option is provided to indicate whether this condition will be met when the exact URL path "Matches" or "Does Not Match" the specified URL.
Learn more about the core differences between the various URL path match options.
Key information:
- The Relative to option determines whether the URL comparison will start before or after the content access point. A content access point is the portion of the path that appears between the CDN hostname and the relative path to the requested asset. It identifies a location by server type (e.g., CDN or customer origin) and your customer account number (e.g., /800001/CustomerOrigin). The available values for this option are explained below.
- Root: This value indicates that the URL comparison will start directly after the CDN hostname (e.g., http://wpc.0001.{Base Domain}). This is the default value for this option.
- Origin: This value is only supported when this match option has been nested under a "CDN Origin" or "Customer Origin" match. This type of configuration indicates that the URL comparison will start after the content access point (e.g., /000001 or /800001/myorigin) specified in the parent "CDN Origin" or "Customer Origin" match.
- An edge CNAME URL will be rewritten to a CDN URL prior to URL comparison. In the following example, both URLs point to the same asset and therefore have the same URL path.
CDN URL: http://wpc.0001.{Base Domain}/800001/CustomerOrigin/path/asset.htm- URL path (Root): /800001/CustomerOrigin/path/asset.htm
- URL path (Origin): /path/asset.htm
Edge CNAME URL: http://my.domain.com/path/asset.htm- URL path (Root): /800001/CustomerOrigin/path/asset.htm
- URL path (Origin): /path/asset.htm
- For the purpose of satisfying this condition, query strings in the URL are ignored.
- The case-sensitivity of URL comparisons is determined by the Ignore Case option.
- The value specified for this match option will be compared against the exact request made by the client.
Tip: If you would like to match all requests made to a particular directory, then you should use the "URL Path Directory" or the "URL Path Wildcard" match options.
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.