--- loncom/rewrites/loncapa_rewrite_off.conf 2016/01/26 14:30:30 1.5 +++ loncom/rewrites/loncapa_rewrite_off.conf 2018/12/27 20:11:42 1.8 @@ -4,14 +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$ - RewriteRule (.*) - [L] - RewriteCond %{REQUEST_URI} ^/adm/jsMath/ - RewriteRule (.*) - [L] - RewriteCond %{REQUEST_URI} ^(/adm/wrapper|)/adm/.*/exttool$ + RewriteCond %{QUERY_STRING} (^|&(amp;|))usehttp=1($|&) RewriteRule (.*) - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]