Ich muss den Zugriff auf Staging- und Dev-Slots meiner Website beschränken. So füge ich diese Regel in web.config (wie here beschrieben)Zugriff auf Staging- und Entwicklungs-Slots beschränken
<rule name="Block unauthorized IP to staging/dev sites" stopProcessing="true">
<match url=".*" />
<conditions>
<!-- Enter your staging site host name here as the pattern-->
<add input="{HTTP_HOST}" pattern="myapp\-dev.azurewebsites.net" />
<add input="{HTTP_HOST}" pattern="myapp\-staging.azurewebsites.net" />
<!-- Add the white listed IP addresses with a new condition as seen below -->
<!-- <add input="{REMOTE_ADDR}" pattern="123\.123\.123\.2" negate="true"/> -->
</conditions>
<action type="Redirect" redirectType="Permanent" url="www.google.fr"/>
</rule>
ich Zugang zu
Es ist noch beschränken müssen accessibles. Also muss ich wissen, wie ich das beheben kann?
Danke,