Skip to content

Commit

Permalink
Fix IIS config sample by changing from HTML to XML (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
omccully committed Apr 23, 2024
1 parent c1de950 commit 6fb7b5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -217,7 +217,7 @@ This example shows how to unlock the section. Since it is locked at the applicat

There are cases where it is useful to unlock sections for a specific path only and to keep them locked for all other paths. The following example builds atop the previous one, and shows how to unlock the section for two specific sites only; for all other sites it will remain locked.

[!code-html[Main](deep-dive-into-iis-configuration-with-iis-7-and-iis-8/samples/sample8.html)]
[!code-xml[Main](deep-dive-into-iis-configuration-with-iis-7-and-iis-8/samples/sample8.xml)]

For each "exception" path that needs unlocking, there needs to be a different location tag.

Expand Down
Expand Up @@ -4,7 +4,7 @@
</system.webServer>
</location>

<location path="TrustedSiteTwo" overrideMode="Allow"><span style="font-family:Calibri; font-size:11pt">
<location path="TrustedSiteTwo" overrideMode="Allow">
<system.webServer>
<modules/>
</system.webServer>
Expand Down

0 comments on commit 6fb7b5c

Please sign in to comment.