--- loncom/rewrites/loncapa_rewrite_on.conf 2018/07/10 06:01:27 1.7 +++ loncom/rewrites/loncapa_rewrite_on.conf 2018/12/27 20:11:42 1.8 @@ -4,11 +4,12 @@ RewriteCond %{REMOTE_HOST} 127.0.0.1 RewriteRule (.*) - [L] RewriteCond %{REQUEST_URI} ^/adm/wrapper/ext/(?!https:) + RewriteCond %{QUERY_STRING} (^|&(amp;|))usehttp=1($|&) RewriteRule (.*) - [L] RewriteCond %{REQUEST_URI} ^/adm/annotations$ RewriteRule (.*) - [L] RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$ - RewriteCond %{QUERY_STRING} (^|&)usehttp=1($|&) + RewriteCond %{QUERY_STRING} (^|&(amp;|))usehttp=1($|&) RewriteRule (.*) - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]