Skip to content

Commit cfb068d

Browse files
Merge pull request #220181 from johndowns/front-door-rules-path-slash
Front Door - Update information about URL paths
2 parents 9204386 + 2d9821e commit cfb068d

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

articles/frontdoor/rule-set-server-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: frontdoor
55
author: duongau
66
ms.service: frontdoor
77
ms.topic: conceptual
8-
ms.date: 03/22/2022
8+
ms.date: 12/05/2022
99
ms.author: duau
1010
---
1111

@@ -18,7 +18,7 @@ When you use [Rule set match conditions](rules-match-conditions.md), server vari
1818
When you use [Rule set actions](front-door-rules-engine-actions.md), you can use server variables to dynamically change the request and response headers, and rewrite URLs, paths, and query strings, for example, when a new page load or when a form is posted.
1919

2020
> [!NOTE]
21-
> Server variable is only available with Azure Front Door Standard and Premium tiers.
21+
> Server variables are available with Azure Front Door Standard and Premium tiers.
2222
2323
## Supported variables
2424

@@ -36,7 +36,7 @@ When you use [Rule set actions](front-door-rules-engine-actions.md), you can use
3636
| `request_uri` | The full original request URI (with arguments).<br />For example, in the request `http://contoso.com:8080/article.aspx?id=123&title=fabrikam`, the `request_uri` value will be `/article.aspx?id=123&title=fabrikam`.<br/> To access this server variable in a match condition, use [Request URL](rules-match-conditions.md?toc=%2fazure%2ffrontdoor%2fstandard-premium%2ftoc.json#request-url).|
3737
| `ssl_protocol` | The protocol of an established TLS connection.<br/> To access this server variable in a match condition, use [SSL protocol](rules-match-conditions.md?toc=%2fazure%2ffrontdoor%2fstandard-premium%2ftoc.json#ssl-protocol).|
3838
| `server_port` | The port of the server that accepted a request.<br/> To access this server variable in a match condition, use [Server port](rules-match-conditions.md?toc=%2fazure%2ffrontdoor%2fstandard-premium%2ftoc.json#server-port).|
39-
| `url_path` | Identifies the specific resource in the host that the web client wants to access. This is the part of the request URI without the arguments.<br />For example, in the request `http://contoso.com:8080/article.aspx?id=123&title=fabrikam`, the `url_path` value will be `/article.aspx`.<br/> To access this server variable in a match condition, use [Request path](rules-match-conditions.md?toc=%2fazure%2ffrontdoor%2fstandard-premium%2ftoc.json#request-path).|
39+
| `url_path` | Identifies the specific resource in the host that the web client wants to access. This is the part of the request URI without the arguments or leading slash.<br />For example, in the request `http://contoso.com:8080/article.aspx?id=123&title=fabrikam`, the `url_path` value will be `article.aspx`.<br/> To access this server variable in a match condition, use [Request path](rules-match-conditions.md?toc=%2fazure%2ffrontdoor%2fstandard-premium%2ftoc.json#request-path).|
4040

4141
## Server variable format
4242

articles/frontdoor/rules-match-conditions.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: frontdoor
55
author: duongau
66
ms.service: frontdoor
77
ms.topic: conceptual
8-
ms.date: 06/09/2022
8+
ms.date: 12/05/2022
99
ms.author: duau
1010
zone_pivot_groups: front-door-tiers
1111
---
@@ -399,7 +399,7 @@ Use the **query string** match condition to identify requests that contain a spe
399399

400400
| Property | Supported values |
401401
|-|-|
402-
| Operator | Any operator from the [standard operator list](#operator-list). |
402+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **query string** match condition. |
403403
| Query string | One or more string or integer values representing the value of the query string to match. Don't include the `?` at the start of the query string. If multiple values are specified, they're evaluated using OR logic. |
404404
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
405405

@@ -605,7 +605,7 @@ The **request body** match condition identifies requests based on specific text
605605

606606
| Property | Supported values |
607607
|-|-|
608-
| Operator | Any operator from the [standard operator list](#operator-list). |
608+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **request body** match condition. |
609609
| Value | One or more string or integer values representing the value of the request body text to match. If multiple values are specified, they're evaluated using OR logic. |
610610
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
611611

@@ -715,7 +715,7 @@ The **request file name** match condition identifies requests that include the s
715715

716716
| Property | Supported values |
717717
|-|-|
718-
| Operator | Any operator from the [standard operator list](#operator-list). |
718+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **request file name** match condition. |
719719
| Value | One or more string or integer values representing the value of the request file name to match. If multiple values are specified, they're evaluated using OR logic. |
720720
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
721721

@@ -828,7 +828,7 @@ The **request file extension** match condition identifies requests that include
828828

829829
| Property | Supported values |
830830
|-|-|
831-
| Operator | Any operator from the [standard operator list](#operator-list). |
831+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **request file extension** match condition. |
832832
| Value | One or more string or integer values representing the value of the request file extension to match. Don't include a leading period. If multiple values are specified, they're evaluated using OR logic. |
833833
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
834834

@@ -1134,8 +1134,8 @@ The **request path** match condition identifies requests that include the specif
11341134

11351135
| Property | Supported values |
11361136
|-|-|
1137-
| Operator | <ul><li>Any operator from the [standard operator list](#operator-list).</li><li>**Wildcard**: Matches when the request path matches a wildcard expression. A wildcard expression can include the `*` character to match zero or more characters within the path. For example, the wildcard expression `files/customer*/file.pdf` matches the paths `files/customer1/file.pdf`, `files/customer109/file.pdf`, and `files/customer/file.pdf`, but does not match `files/customer2/anotherfile.pdf`.<ul><li>In the Azure portal: `Wildcards`, `Not Wildcards`</li><li>In ARM templates: `Wildcard`; use the `negateCondition` property to specify _Not Wildcards_</li></ul></li></ul> |
1138-
| Value | One or more string or integer values representing the value of the request path to match. Don't include the leading slash. If multiple values are specified, they're evaluated using OR logic. |
1137+
| Operator | <ul><li>All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **request path** match condition.</li><li>**Wildcard**: Matches when the request path matches a wildcard expression. A wildcard expression can include the `*` character to match zero or more characters within the path. For example, the wildcard expression `files/customer*/file.pdf` matches the paths `files/customer1/file.pdf`, `files/customer109/file.pdf`, and `files/customer/file.pdf`, but does not match `files/customer2/anotherfile.pdf`.<ul><li>In the Azure portal: `Wildcards`, `Not Wildcards`</li><li>In ARM templates: `Wildcard`; use the `negateCondition` property to specify _Not Wildcards_</li></ul></li></ul> |
1138+
| Value | One or more string or integer values representing the value of the request path to match. If you specify a leading slash, it's ignored. If multiple values are specified, they're evaluated using OR logic. |
11391139
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
11401140

11411141
::: zone-end
@@ -1144,8 +1144,8 @@ The **request path** match condition identifies requests that include the specif
11441144

11451145
| Property | Supported values |
11461146
|-|-|
1147-
| Operator | Any operator from the [standard operator list](#operator-list). |
1148-
| Value | One or more string or integer values representing the value of the request path to match. Don't include the leading slash. If multiple values are specified, they're evaluated using OR logic. |
1147+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **request path** match condition. |
1148+
| Value | One or more string or integer values representing the value of the request path to match. If you specify a leading slash, it's ignored. If multiple values are specified, they're evaluated using OR logic. |
11491149
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
11501150

11511151
::: zone-end
@@ -1359,7 +1359,7 @@ Identifies requests that match the specified URL. The entire URL is evaluated, i
13591359

13601360
| Property | Supported values |
13611361
|-|-|
1362-
| Operator | Any operator from the [standard operator list](#operator-list). |
1362+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **request URL** match condition. |
13631363
| Value | One or more string or integer values representing the value of the request URL to match. If multiple values are specified, they're evaluated using OR logic. |
13641364
| Case transform | Any transform from the [standard string transforms list](#string-transform-list). |
13651365

@@ -1471,7 +1471,7 @@ The **host name** match condition identifies requests based on the specified hos
14711471

14721472
| Property | Supported values |
14731473
|-------|------------------|
1474-
| Operator | Any operator from the [standard operator list](#operator-list). |
1474+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **host name** match condition. |
14751475
| Value | One or more string values representing the value of request hostname to match. If multiple values are specified, they're evaluated using OR logic. |
14761476
| Case transform | Any case transform from the [standard string transforms list](#string-transform-list). |
14771477

@@ -1645,7 +1645,7 @@ The **client port** match condition identifies requests based on the TCP port of
16451645

16461646
| Property | Supported values |
16471647
|-------|------------------|
1648-
| Operator | Any operator from the [standard operator list](#operator-list). |
1648+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **client port** match condition. |
16491649
| Value | One or more port numbers, expressed as integers. If multiple values are specified, they're evaluated using OR logic. |
16501650

16511651
### Example
@@ -1698,7 +1698,7 @@ The **server port** match condition identifies requests based on the TCP port of
16981698

16991699
| Property | Supported values |
17001700
|-------|------------------|
1701-
| Operator | Any operator from the [standard operator list](#operator-list). |
1701+
| Operator | All operators from the [standard operator list](#operator-list) are supported. However, the **Any** match condition matches every request, and the **Not Any** match condition doesn't match any request, when used with the **server port** match condition. |
17021702
| Value | A port number, which must be either 80 or 443. If multiple values are specified, they're evaluated using OR logic. |
17031703

17041704
### Example

0 commit comments

Comments
 (0)