2013-03-06から1日間の記事一覧

Windows Azure 上でhttpをhttpsへリダイレクト

IISでリダイレクトを使う場合にはURL Rewrite Moduleが必要なのだが、Windows Azure上のIISには既にインストールされているらしいのでリダイレクトの設定だけWeb.configの配下に以下のように設定 <rewrite> <rules> <rule name="Force HTTPS" enabled="true"> <match url="(.*)" ignoreCase="false" /> <conditions> <add input="{HTTPS}" pattern="off" /> </conditions> …</match></rule></rules></rewrite>