Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<rule name="Restrict umbraco access" stopProcessing="true">
<match url="^umbraco/?.*"/>
<action type="CustomResponse" statusCode="404" />
<add input="{HTTP_HOST}" pattern="^$"/>
<add input="{REQUEST_URI}" pattern="^umbraco/Surface/.*" negate="true" ignoreCase="true" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.