Review available match types for Edge Redirector

Available match types

Before you start setting up your Edge Redirector rules, review the match types available with this Cloudlet:

Match Type

Matches Based on...

Wildcard Support

Case Sensitivity Support

Multiple Value Support

Cookie

a combination of cookie name and cookie value.

Default

any and all incoming requests.

Device characteristics

a list of available device characteristics.

File extension

the file extensions to match on.

Hostname

the hostnames to match on.

IP/CIDR

an IP address or CIDR list. You can also select whether to use the client IP address from the connecting IP address, the X-Forwarded-For HTTP header value, or either option.

Protocol

the protocol to match on. HTTP or HTTPS protocol are the current options, and you can only select one protocol per match.

Proxy

whether the edge platform has determined that the incoming IP address is acting as a proxy.

Query string

the query string values to match on. For example, name or name=value1 or name=value1 value2.

Request header

a request header value.

Request method

the method used for the request, like GET or POST.

URL path

the URL paths to match on. For example: /clothing/children/shoes/shoe1.jpg

URL regular expression

a regular expression. For more information see the Edge Redirector regular expression example.

User location data

a combination of the following geographic categories: continent, country, and region/state.

Edge Redirector regular expression example

If you are using Advanced Criteria with Edge Redirector and want to set up a regular expression that appends the incoming path and query string to the domain http://www.redirect.com, you might set it up like this in the Cloudlets Policy Manager:

ER_regexpER_regexp

In this case, the Regular Expression value is http://([A-z|\.]*)/(.*) and the Redirect URL (substitution pattern) value is http://www.redirect.com/\2. For example, if the incoming URL is http://example.com/springsale.htm, it will be redirected to http://www.redirect.com/springsale.htm. However, if the incoming URL is https://example1.com/flashsale.htm, it will not be redirected because both the protocol (HTTPS) and the number in the hostname do not match.


Did this page help you?