http にある必要があるファイルがいくつかあります。次のコードを試しましたが、機能しません。web.config でページ page1、page2 に強制 HTTP を設定するにはどうすればよいですか
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Force HTTP" stopProcessing="true">
<match url="(.*)/page1.php" ignoreCase="false"/>
<match url="(.*)/page2.php" ignoreCase="false"/>
<conditions>
<add input="{HTTPS}" pattern="ON" ignoreCase="true"/>
</conditions>
<action type="Redirect" url="http://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
WindowsのPHPアプリケーション用のIIS 7 Webサーバーで作業しています