Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

The <PathRegex> element is used to apply content settings to requests whose path matches a regular expression. The query string, if any, is NOT included in the comparison.

...

Attributes

Content Specifiers

Names

Type

Req?

Default

Description

regex 

regex 

string

Y


Specifies the regular expression to apply

caseSensitive 

caseSensitive 

boolean


false

Controls the case sensitivity option of the regular expression engine

Content Settings

The element supports a large number of XML attributes corresponding to the content settings supported by the SP:

Include Page
ContentSettings
ContentSettings

Child Elements

Access Control 

Include Page
AccessControl
AccessControl

Nested Content Specifiers

Name

Cardinality

Description

<Query>

0 or more

Matches requests containing a matching query string parameter

For more details on how the request mapping process works, see the HowTo.

...

As with the example in the <Path> topic, this scenario doesn't actually warrant a separate <Path> element since the "secure/" string could be prefixed to the demonstrated expression.

...