/
PathRegex
PathRegex
- 1 Overview
- 2 Reference
- 2.1 Attributes
- 2.1.1 Content Specifiers
- 2.1.2 Content Settings
- 2.2 Child Elements
- 2.2.1 Access Control
- 2.2.2 Nested Content Specifiers
- 2.1 Attributes
- 3 Example
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.
Regular expressions apply to the remainder of the path that is being compared and do not "nest", so if you care what's after the part you're matching, then compose your expression to check for the entire match you want.