Guest User

Untitled

a guest
Jun 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. RewriteCond %{HTTP_REFERER} ^https://
  2. RewriteCond %{HTTPS} !=on # This checks to make sure the connection is not already HTTPS
  3. RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
Add Comment
Please, Sign In to add comment