--- loncom/rewrites/loncapa_rewrite_off.conf 2011/05/26 01:05:44 1.1 +++ loncom/rewrites/loncapa_rewrite_off.conf 2018/07/10 06:01:27 1.7 @@ -3,6 +3,13 @@ RewriteEngine off RewriteCond %{REMOTE_HOST} 127.0.0.1 RewriteRule (.*) - [L] + RewriteCond %{REQUEST_URI} ^/adm/wrapper/ext/(?!https:) + RewriteRule (.*) - [L] + RewriteCond %{REQUEST_URI} ^/adm/annotations$ + RewriteRule (.*) - [L] + RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$ + RewriteCond %{QUERY_STRING} (^|&)usehttp=1($|&) + RewriteRule (.*) - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]