を書き換える:リダイレクトが多すぎますが、私は私のweb.configファイルで、このルールを使用HTTPSに私の訪問者をリダイレクトするにはループ
<rewrite>
<rules>
<clear />
<rule name="HTTP to HTTPS redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
しかし、私はウェブサイトを訪問しようとすると、エラー(あまりにも多くのリダイレクト)を取得し、それはそうそれはループで立ち往生します。
https://example.comおよびhttps://www.example.comはokです。
しかし、これらのアドレスはエラーになる:
example.com & www.example.com
誰もこれで私を助けることができますか?
を。また、彼らが(http:// example.com/example.phpを訪問したとき) 'https:// example.com/example.php'にリダイレクトしたい – FredV