Difference between revisions of "Old sites setup SSL"

From GLMWiki
Jump to: navigation, search
(Created page with "Setup .htaccess to always use ssl RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://www.warmemorialhospital.org/$1 [R,L]")
 
Line 3: Line 3:
 
  RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION
 
  RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION
 
  RewriteCond %{HTTPS} !=on
 
  RewriteCond %{HTTPS} !=on
  RewriteRule ^/?(.*) https://www.warmemorialhospital.org/$1 [R,L]
+
  RewriteRule ^/?(.*) <nowiki>https://www.warmemorialhospital.org</nowiki>/$1 [R,L]

Revision as of 12:32, 11 January 2019

Setup .htaccess to always use ssl

RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://www.warmemorialhospital.org/$1 [R,L]