Add a Path
  • 18 Jun 2024
  • 1 Minute to read
  • PDF

Add a Path

  • PDF

Article summary

Use paths to define custom configuration parameters for selected content.

To add a path:

  1. Navigate to the My Media Sites page and select the site.

  2. On the Media Site Configuration tab, scroll to the Hosts area and select the host.

  3. In the Path Rules area, select Add Path.

  4. Select the Match Type.

    • Path Match - The default match type.
    • Path Regex - Supports using a regex expression to define the match conditions.
  5. Define the path pattern or regex.

    Notes about Path Regex:

    • Path Regex defines a path search.
    • Non-capturing groups are supported. Capture groups are not supported.
    • Regex wildcards such as (?: and + are supported.
      For example:
      \.(?:ts|mp4)$ specifies any file that ends with .ts or .mp4.
      /[0-9]+\.mp4 specifies any filename that is comprised of numeric characters and ends with .mp4.

    • Add the start (^) and end ($) anchors to define an exact match for a specified string. (The string itself can include wildcards.)
      For example:
      While /file/.*\.mp4 could match both /any/path/file/<any string>.mp4 and /file/<any string>.mp4
      ^/file/.*\.mp4$ would only match /file/<any string>.mp4

    Notes about Path Match
    You can use the following wildcards to identify content based on specific patterns or variations in the URLs.

    WildcardDescriptionPattern ExamplesA match is a URI that...
    *matches any alphanumeric sequence, or "/"*.m3u8...ends with '.m3u8'
    /abc/*...starts with '/abc/' and is followed by any characters.
    /abc/*.m4a... starts with '/abc/' and ends with '.m4a'
    /abc/def/*_*.mpd...starts with '/abc/def/', followed by any characters, an underscore, any characters, and ending with '.mpd'
    ?matches exactly one characterexample.com/images/image_?.jpg... follows the pattern 'example.com/images/image_?.jpg' where '?' is any single character.
  6. Select the Traffic Type: Vod, Live, or Low Latency Live.

    Important: All the site hosts and paths must define the same traffic type.

  7. Select Add Path. The path appears in the Path Rules area of the Media Site Configuration tab.
    Note that the path rules in the list are numbered. Learn why the path order matters.

    Change the Path Order



Add a rule to customize how a request for the content specified by the path is processed.

Configure a path origin to map the content to a different origin.

Add an Access Control List (ACL) to control access to the path content.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.