mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-22 06:05:11 -05:00
10 lines
303 B
ApacheConf
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] |