This topic provides setup information and step-by-step procedures on how to add, modify, and delete a country filtering configuration.
Key information:
A country filtering configuration is applied recursively to the specified directory.
In other words, this configuration is applicable when requesting the specified directory or its contents. A directory's contents includes all subdirectories and their contents.
Only a single country filter can be explicitly defined per directory.
In other words, multiple country filter configurations cannot point to the same relative path. However, a country filtering configuration may be applied to a directory that inherits one or more country filtering configurations.
A country filtering configuration must be associated with a directory.
A country filtering configuration will be applied recursively to the specified directory.
Key information:
The starting point for this relative path is defined below:
URL Type | Relative Path (Starting Point) |
---|---|
CDN URL |
Specify a relative path that starts directly after the content access point (e.g., /000001, /200001, or /800001). Sample URL: http://wpc.0001.edgecastcdn.net/800001/customerorigin/videos/fly.html In the above sample URL, the gray text indicates what should be excluded when securing a location. This sample request can be secured by any of the following configurations:
|
Edge CNAME URL |
Specify a relative path that starts directly after the hostname. Sample URL: http://www.domain.com/presentations/sales/businessplan.ppt In the above sample URL, the gray text indicates what should be excluded when securing a location. This sample request can be secured by any of the following configurations:
|
Edge CNAME URL |
Specify a relative path that starts with the name of the customer origin configuration referenced by the edge CNAME URL. Sample edge CNAME URL: http://www.domain.com/Photos/Store.jpg Our edge servers will re-write the edge CNAME URL requested by the client (above) with the following CDN URL: http://wpc.0001.edgecastcdn.net/800001/customerorigin/Photos/Store.jpg The above CDN URL is used to determine the starting point for the relative path that should be secured. The gray text in the above CDN URL indicates what should be excluded when securing a location. This sample request can be secured by any of the following configurations:
|
Once a relative path has been specified, choose whether to allow or block requests.
The final step requires selecting one or more countries to which the current country filtering configuration will be applied.
Europe (EU) and Asia/Pacific Region (AP) are not meant to identify all requests from those regions.
Learn more.
Instructions on how to add, modify, or delete a Country Filtering configuration are provided below.
To add a country filtering configuration
Navigate to the Country Filtering page
In the Step 1: Enter Directory Path section, specify the relative path to the directory (e.g., /myorigin/myfolder) to which Country Filtering will be applied.
Country Filtering will be recursively applied to the specified directory across all customer origins and CDN storage.
To modify a country filtering configuration
To delete a country filtering configuration
Edgecast CDN