Request Header Wildcard

Category: Request

Purpose: Identifies requests by whether they contain a request header whose value matches a pattern defined by a wildcardThis type of value supports the use of special characters to establish a pattern. For example, specifying an asterisk within this type of value will match one or more characters. value.

Key information:

Sample Scenarios

Sample scenarios are provided below.

The following sample configurations assume that this match condition is satisfied when a request matches one of the specified values.

Header Name Header Value Description

Referer

http://www.domain.com/

This configuration will match a request with the following request header:

Referer: http://www.domain.com/

It will not match a request with the following request header:

Referer: http://www.domain.com/page.php

Referer

http://www.domain.com/* http://blog.domain.com/*

These patterns will match requests from any referring URL from either of the following:

  • http://www.domain.com/
  • http://blog.domain.com/

User-Agent

*Mozilla/5.0 *Android 4.0.4*

This pattern will match requests whose user agent contains the following string:

  • Mozilla/5.0 (Linux; U; Android 4.0.4;