Skip to content

Commit 22f73a4

Browse files
note rephrase
1 parent 2d318bf commit 22f73a4

File tree

1 file changed

+5
-3
lines changed
  • content/en/docs/deployment/on-premises-design/ms-windows

1 file changed

+5
-3
lines changed

content/en/docs/deployment/on-premises-design/ms-windows/_index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,14 @@ Rule | Name | Pattern | Rewrite URL
200200
10 | p | `^(p/)(.*)` | `http://localhost:8080/{R:1}{R:2}`
201201
11 | manifest | `^(manifest.webmanifest)(.*)` | `http://localhost:8080/{R:1}{R:2}`
202202

203-
Follow the instructions below and replace *[Name]* with the name of the rule in the table above, *[Pattern]* with the regular expression pattern, and *[Rewrite URL]* with the Rewrite URL.
204-
205203
{{% alert color="info" %}}
206-
Some patterns contain a trailing slash, `/`, when they need to point to an exact path (for example, `/ws-doc/mydoc/1234`).
204+
Some patterns include a trailing slash, `/`, when they need to match an exact path. For example, the pattern `ws-doc/` will match `/ws-doc/mydoc/1234`, but it will not match similar prefixes like `/ws-documentation/`.
205+
206+
Additionally, while the example path (`/ws-doc/mydoc/1234`) includes a leading slash because browser URLs always start with one, IIS rewrite patterns do not include this slash. This is because the web server removes the leading slash before processing the URL path for matching.
207207
{{% /alert %}}
208208

209+
Follow the instructions below and replace *[Name]* with the name of the rule in the table above, *[Pattern]* with the regular expression pattern, and *[Rewrite URL]* with the Rewrite URL.
210+
209211
1. Open the IIS Manager and navigate to the website you want to manage.
210212
2. In the **Features View**, double-click **URL Rewrite**.
211213
3. In the **Actions** pane on the right side of the screen, click **Add rule(s)…** to add a new rewrite rule.

0 commit comments

Comments
 (0)