--- doc/install/linux/sslrewrite.conf 2018/07/17 01:59:39 1.1 +++ doc/install/linux/sslrewrite.conf 2018/12/27 20:11:55 1.2 @@ -1,12 +1,14 @@ RewriteEngine on RewriteCond %{HTTPS} =on + RewriteCond %{REQUEST_URI} ^/adm/wrapper/ext/(?!https:\/\/) + RewriteCond %{QUERY_STRING} (^|&(|amp;))usehttp=1($|&) RewriteRule ^/adm/wrapper/ext/(?!https:\/\/) http://%{HTTP_HOST}%{REQUEST_URI} [R,L,NE] RewriteCond %{REMOTE_ADDR} 127.0.0.1 RewriteRule (.*) - [L] RewriteCond %{REMOTE_ADDR} {[[[[HostIP]]]]} RewriteRule (.*) - [L] RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$ - RewriteCond %{QUERY_STRING} (^|&)usehttp=1($|&) + RewriteCond %{QUERY_STRING} (^|&(|amp;))usehttp=1($|&) RewriteRule ^/public/.*/syllabus$ http://%{HTTP_HOST}%{REQUEST_URI} [R,L,NE]