не удается перенаправить с https на http в окне веб-хостинга файла web.config - PullRequest
0 голосов
/ 29 января 2020
I need to redirect all https://aplusvision.org/index.php  to http://aplusvision.org/index.php  (HTTPS to HTTP) without affect any other redirections in my web.config file  How do i proceed?

<?xml version="1.0"?>
<configuration>
  <system.webServer>
     <rewrite>
               <rules>
               <rule name="Redirect to HTTP" stopProcessing="true">
               <match url="(.*)" />
                    <conditions>
                    <add input="{HTTP}" pattern="^OFF$" />
                    </conditions>
        <action type="Redirect" url="http://aplusvision.org/{R:1}" redirectType="Permanent" />
               </rule>
               </rules>
     </rewrite>
  </system.webServer>
</configuration>

Я не могу перенаправить с https на http в окне веб-хостинга в файле web.config, и срок моей сертификации SSL от godaddy (linux) истек, и я не хочу обновлять сертификат SSL.

...