Https para redirecionar http usando o htaccess
Estou tentando redirecionarhttps://www.example.com parahttp://www.example.com. Eu tentei o seguinte código no arquivo .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
Este código redireciona com sucessohttps://example.com parahttp://www.example.com. No entanto, quando eu digitohttps://www.example.com então ele me dá um erro "página da Web não disponível" no navegador.
Eu também tentei os seguintes códigos 2 sem sucesso
Tentativa 1
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*):NOSSL$ http://www.example.com/$1 [R=301,L]
Tentativa 2
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
Ambas as tentativas acima falharam. Alguma sugestão?