privacyguides.org/.htaccess
privacytoolsIO 8b3a1911b9 Revert "Redirect from HTTPS to HTTP"
This reverts commit 611a071d51.
2017-08-08 07:41:51 +08:00

10 lines
303 B
ApacheConf

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