Revert "Redirect from HTTPS to HTTP"

This reverts commit 611a071d51.
This commit is contained in:
privacytoolsIO 2017-08-08 07:41:51 +08:00
parent 611a071d51
commit 8b3a1911b9

View File

@ -1,14 +1,10 @@
Options +FollowSymLinks Options +FollowSymLinks
RewriteEngine On RewriteEngine On
#RewriteCond %{HTTP:X-Forwarded-Proto} =http RewriteCond %{HTTP:X-Forwarded-Proto} =http
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#Redirect from HTTPS to HTTP RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$
RewriteCond %{HTTPS} on RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301]
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$
#RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301]
RewriteRule ^pw.php$ /password.html [R=301,L] RewriteRule ^pw.php$ /password.html [R=301,L]