PeterLee.KR
Today
Literature
Dance
Public_Administration
Programming
programming
Easy Pay System
Paypal
Something else here
Carpentry
Chronology
Tanzmate
Cntanz
Search
Edit
Back to List
PersonModel
ID
Date
Target
Title
Contents
tanz.co.kr이 www.tanz.co.kr로 가게 하려고 그렇게 했으나 현재 되지 않고 있다. https://weblogs.asp.net/owscott/iis-url-rewrite-rewriting-non-www-to-www IIS URL Rewrite – rewriting non-www to www WRITE TWO RULES ON IIE URL REWRITE <rewrite> <rules> <rule name="Redirect HTTP to HTTPS (Sales)" stopProcessing="true"> <match url="(.*sales*)"/> <conditions> <add input="{HTTPS}" pattern="^OFF$"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther"/> </rule> <rule name="Redirect HTTP to HTTPS (RegistrationSucces)" stopProcessing="true"> <match url="(.*registrationsuccess*)"/> <conditions> <add input="{HTTPS}" pattern="^OFF$"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther"/> </rule> </rules> </rewrite> NON-WWW to WWW <rewrite> <rules> <rule name="Redirect domain.com to www" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{HTTP_HOST}" pattern="domain.com" /> </conditions> <action type="Redirect" url="http://www.domain.com/{R:0}" /> </rule> </rules> </rewrite>
Back to List