안녕하세요, 내 도메인 별칭을 하나의 도메인으로 리디렉션하려고합니다.web.config 여러 도메인을 하나로 리디렉션
나는 현재
<rule name="WWW Rewrite" enabled="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" negate="true"
pattern="^www\.([.a-zA-Z0-9]+)$" />
</conditions>
<action type="Redirect" url="http://www.domain.com/{R:0}"
appendQueryString="true" redirectType="Permanent" />
</rule>
별칭 나던 앞에 www가있을 때 그것은 완벽하게 작동합니다 ... 내가 리디렉션 말을 어떻게이 모든 것을이 도메인 같지 않은이 규칙을 가지고
감사합니다.
저에게 도움이되지 않았습니다. – Zymotik