CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11468] 'use https for this page' causes redirect

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Sat Jul 08 18:33:27 -0400 2017

Assigned To: Robert Campbell (calguy1000)
Version: 2.2
CMSMS Version: 2.2
Severity: Trivial
Resolution: Fixed
State: Open
Summary:
'use https for this page' causes redirect
Detailed Description:
if you're using the legacy functionality "use https for this page" and don't
have https forced in your htaccess, you will get a redirect error.

Workaround:
force https site-wide via htaccess, here's one example method:

#force non-www and https
RewriteCond %{HTTP_HOST} ^(www\.)(.+) [OR]
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^(www\.)?(.+)
RewriteRule ^ https://%2%{REQUEST_URI} [R=301,L]


History

Comments
avatar
Date: 2017-07-08 18:34
Posted By: Robert Campbell (calguy1000)

Fixed in svn.
      
Updates

Updated: 2017-07-09 10:09
resolution_id: 5 => 7

Updated: 2017-07-08 18:34
resolution_id: => 5