--- loncom/rewrites/loncapa_rewrite_off.conf 2011/05/26 01:05:44 1.1 +++ loncom/rewrites/loncapa_rewrite_off.conf 2018/12/27 20:11:42 1.8 @@ -3,6 +3,14 @@ RewriteEngine off 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} (^|&(amp;|))usehttp=1($|&) + RewriteRule (.*) - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]