Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<rule name="Restrict umbraco access" stopProcessing="true">
<match url="^umbraco/?.*"/>
<action type="CustomResponse" statusCode="404" />
<conditions>
<add input="{HTTP_HOST}" pattern="^www.example.co.uk$"/>
<add input="{REQUEST_URI}" pattern="^umbraco/Surface/.*" negate="true" ignoreCase="true" />
</conditions>
</rule>
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.