Skip to content

Commit ae7923a

Browse files
committed
more edits
1 parent 8e19135 commit ae7923a

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

articles/cdn/cdn-standard-rules-engine-actions.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: magattus
1313

1414
# Actions in the Standard rules engine for Azure CDN
1515

16-
In the [Standard rules engine](cdn-standard-rules-engine.md) for Azure Content Delivery Network (Azure CDN), a rule consists of a set of match conditions and an action. This article provides detailed descriptions of the actions you can use in the Standard rules engine for Azure CDN.
16+
In the [Standard rules engine](cdn-standard-rules-engine.md) for Azure Content Delivery Network (Azure CDN), a rule consists of one or more match conditions and an action. This article provides detailed descriptions of the actions you can use in the Standard rules engine for Azure CDN.
1717

1818
The second part of a rule is an action. An action defines the behavior that's applied to the request type that a match condition or set of match conditions identifies.
1919

@@ -29,7 +29,7 @@ Use this action to overwrite the time to live (TTL) value of the endpoint for re
2929

3030
Cache behavior | Description
3131
---------------|----------------
32-
Bypass Cache | When this option is selected and the rule matches, the content is not cached.
32+
Bypass cache | When this option is selected and the rule matches, the content is not cached.
3333
Override | When this option is selected and the rule matches, the TTL value returned from your origin is overwritten with the value specified in the action.
3434
Set if missing | When this option is selected and the rule matches, if no TTL value was returned from your origin, the rule sets the TTL to the value specified in the action.
3535

@@ -62,7 +62,7 @@ Action | HTTP header name | Value
6262
-------|------------------|------
6363
Append | When this option is selected and the rule matches, the header specified in **Header name** is added to the request with the specified value. If the header is already present, the value is appended to the existing value. | String
6464
Overwrite | When this option is selected and the rule matches, the header specified in **Header name** is added to the request with the specified value. If the header is already present, the specified value overwrites the existing value. | String
65-
Delete | When this option is selected and the rule matches, and the header specified in the rule is present, the header is deleted from the request. | String
65+
Delete | When this option is selected, the rule matches, and the header specified in the rule is present, the header is deleted from the request. | String
6666

6767
### Modify response header
6868

@@ -72,9 +72,9 @@ Use this action to modify headers that are present in responses returned to your
7272

7373
Action | HTTP Header name | Value
7474
-------|------------------|------
75-
Append | When this option is selected and the rule matches, the header specified in **Header name** is added to the response using the specified **Value**. If the header is already present, **Value** is appended to the existing value. | String
76-
Overwrite | When this option is selected and the rule matches, the header specified in **Header name** is added to the response using the specified **Value**. If the header is already present, **Value** overwrites the existing value. | String
77-
Delete | When this option is selected and the rule matches, and the header specified in the rule is present, the header is deleted from the response. | String
75+
Append | When this option is selected and the rule matches, the header specified in **Header name** is added to the response by using the specified **Value**. If the header is already present, **Value** is appended to the existing value. | String
76+
Overwrite | When this option is selected and the rule matches, the header specified in **Header name** is added to the response by using the specified **Value**. If the header is already present, **Value** overwrites the existing value. | String
77+
Delete | When this option is selected, the rule matches, and the header specified in the rule is present, the header is deleted from the response. | String
7878

7979
### URL redirect
8080

@@ -84,11 +84,11 @@ Use this action to redirect clients to a new URL.
8484

8585
Field | Description
8686
------|------------
87-
Type | Select the response type to return to the requestor. Options are: Found (302), Moved (301), Temporary redirect (307), and Permanent redirect (308).
88-
Protocol | Match Request, HTTP, or HTTPS.
89-
Hostname | Select the hostname you want the request to be redirected to. Leave blank to preserve the incoming host.
87+
Type | Select the response type to return to the requestor: Found (302), Moved (301), Temporary redirect (307), and Permanent redirect (308).
88+
Protocol | Match Request, HTTP, HTTPS.
89+
Hostname | Select the host name you want the request to be redirected to. Leave blank to preserve the incoming host.
9090
Path | Define the path to use in the redirect. Leave blank to preserve the incoming path.
91-
Query String | Define the query string used in the redirect. Leave blank to preserve the incoming query string.
91+
Query string | Define the query string used in the redirect. Leave blank to preserve the incoming query string.
9292
Fragment | Define the fragment to use in the redirect. Leave blank to preserve the incoming fragment.
9393

9494
We highly recommend that you use an absolute URL. Using a relative URL might redirect Azure CDN URLs to an invalid path.
@@ -101,9 +101,9 @@ Use this action to rewrite the path of a request that's en route to your origin.
101101

102102
Field | Description
103103
------|------------
104-
Source Pattern | Define the source pattern in the URL path to replace. Currently, source pattern uses a prefix-based match. To match all URL paths, use “/” as the source pattern value.
104+
Source pattern | Define the source pattern in the URL path to replace. Currently, source pattern uses a prefix-based match. To match all URL paths, use a forward slash (**/**) as the source pattern value.
105105
Destination | Define the destination path to use in the rewrite. The destination path overwrites the source pattern.
106-
Preserve unmatched path | If **Yes**, the remaining path after the source pattern is appended to the new destination path.
106+
Preserve unmatched path | If set to **Yes**, the remaining path after the source pattern is appended to the new destination path.
107107

108108
## Next steps
109109

articles/cdn/cdn-standard-rules-engine-match-conditions.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ ms.author: magattus
1313

1414
# Match conditions in the Standard rules engine for Azure CDN
1515

16-
In the [Standard rules engine](cdn-standard-rules-engine.md) for Azure Content Delivery Network (Azure CDN), a rule consists of a set of match conditions and an action. This article provides detailed descriptions of the match conditions you can use in the Standard rules engine for Azure CDN.
16+
In the [Standard rules engine](cdn-standard-rules-engine.md) for Azure Content Delivery Network (Azure CDN), a rule consists of one or more match conditions and an action. This article provides detailed descriptions of the match conditions you can use in the Standard rules engine for Azure CDN.
1717

1818
The first part of a rule is a match condition or set of match conditions. In the Standard rules engine for Azure CDN, each rule can have up to four match conditions. A match condition identifies specific types of requests for which defined actions are performed. If you use multiple match conditions, the match conditions are grouped together by using AND logic.
1919

2020
For example, you can use a match condition to:
2121

22-
- Filter requests that are generated from a specific IP address, country, or region.
22+
- Filter requests based on a specific IP address, country, or region.
2323
- Filter requests by header information.
2424
- Filter requests from mobile devices or desktop devices.
2525

@@ -29,7 +29,7 @@ The following match conditions are available to use in the Standard rules engine
2929

3030
### Device type
3131

32-
Identifies requests made from a mobile device or desktop device based on the properties of the request.
32+
Identifies requests made from a mobile device or desktop device.
3333

3434
#### Required fields
3535

@@ -64,7 +64,7 @@ String | [Standard operator list](#standard-operator-list) | String, Int | No tr
6464
- Cookie name comparisons are case-insensitive.
6565
- To specify multiple cookie values, use a single space between each cookie value.
6666
- Cookie values can take advantage of wildcard values.
67-
- If a wildcard value hasn't been specified, only an exact match will satisfy this match condition. For example, "Value" will match "Value" but not "Value1".
67+
- If a wildcard value hasn't been specified, only an exact match satisfies this match condition. For example, "Value" will match "Value" but not "Value1".
6868

6969
### Post argument
7070

@@ -104,7 +104,7 @@ Not IP Match | IP address (space-separated)
104104
#### Key information
105105

106106
- Use CIDR notation.
107-
- To specify multiple IP addresses and IP address blocks, use a single space between the values. For example:
107+
- To specify multiple IP addresses and IP address blocks, use a single space between the values:
108108
- **IPv4 example**: *1.2.3.4 10.20.30.40* matches any requests that arrive from either address 1.2.3.4 or 10.20.30.40.
109109
- **IPv6 example**: *1:2:3:4:5:6:7:8 10:20:30:40:50:60:70:8*0 matches any requests that arrive from either address 1:2:3:4:5:6:7:8 or 10:20:30:40:50:60:70:80.
110110
- The syntax for an IP address block is the base IP address followed by a forward slash and the prefix size. For example:
@@ -133,11 +133,11 @@ String | [Standard operator list](#standard-operator-list) | String, Int | No tr
133133

134134
### Request method
135135

136-
Identifies requests based on the request method used in the request.
136+
Identifies requests that use the specified request method.
137137

138138
#### Required fields
139139

140-
Operator | Supported value
140+
Operator | Supported values
141141
---------|----------------
142142
Equals, Not equals | GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE
143143

@@ -147,17 +147,17 @@ Equals, Not equals | GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE
147147

148148
### Request protocol
149149

150-
Identifies requests based on the protocol used to send the request.
150+
Identifies requests that use the specified protocol used.
151151

152152
#### Required fields
153153

154-
Operator | Supported value
154+
Operator | Supported values
155155
---------|----------------
156156
Equals, Not equals | HTTP, HTTPS
157157

158158
### Request URL
159159

160-
Identifies requests based on the URL used to send the request.
160+
Identifies requests that match the specified URL.
161161

162162
#### Required fields
163163

@@ -171,7 +171,7 @@ Operator | Request URL | Case transform
171171

172172
### URL file extension
173173

174-
Identifies requests based on the file extension of the file name part of the requesting URL.
174+
Identifies requests that include the specified file extension in the file name in the requesting URL.
175175

176176
#### Required fields
177177

@@ -185,7 +185,7 @@ Operator | Extension | Case transform
185185

186186
### URL file name
187187

188-
Identifies requests based on the file name part of the requesting URL.
188+
Identifies requests that include the specified file name in the requesting URL.
189189

190190
#### Required fields
191191

@@ -199,7 +199,7 @@ Operator | File name | Case transform
199199

200200
### URL path
201201

202-
Identifies requests based on the path of the requesting URL.
202+
Identifies requests that include the specified path in the requesting URL.
203203

204204
#### Required fields
205205

@@ -215,7 +215,7 @@ Operator | Value | Case Transform
215215

216216
### Standard operator list
217217

218-
For rules that contain the standard operator list, the following operators are valid:
218+
For rules that accept values from the standard operator list, the following operators are valid:
219219

220220
- Any
221221
- Equals

0 commit comments

Comments
 (0)