특정 도메인 집합 (따라서 와일드 카드 일치)에서 백 오피스에만 액세스 할 수있는 IIS 다시 쓰기 규칙을 사용하여 비슷한 작업을 수행했습니다. 이 옵션을 사용하면 localhost에서만 액세스 할 수 있습니다. 주 사이트 web.config가 아니라 umbraco 폴더에 규칙을 저장하십시오.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Umbraco only from localhost" enabled="true" patternSyntax="Wildcard" stopProcessing="false">
<match url="*" negate="false" />
<action type="Rewrite" url="/UmbrSubDir404" appendQueryString="false" logRewrittenUrl="false" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="localhost" negate="true" />
<add input="{URL}" pattern="*RestServices/ScheduledPublish*" negate="true" />
<add input="{URL}" pattern="*umbraco/Api/*" negate="true" />
</conditions>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
내가이 비슷한을 시도했지만 어떤 이유로 IIS는 우리의 내부 주소 중 어느 것도 일치되지 않은 듯 아무도 뒷면을 볼 수 없었다 다음 umbraco 폴더에 배치 할 전체 Web.config의 내용입니다 사무실. 나는 우리가 구문에서 무엇인가를 놓쳤는 지 확인하기 위해 우리가 한 일과 비교해 볼 것입니다. 감사! – mrcoulson