Return to loncapa_rewrite_on.conf CVS log | Up to [LON-CAPA] / loncom / rewrites |
- Append ?usehttp=1 to link to syllabus where LON-CAPA syllabus is configured to use external http:// URL, but LON-CAPA server uses https:// to avoid mixed active content issue (see also bug 6662). - Preview of external http:// URL displayed in separate pop-up window instead of in modal window on https:// server.
<IfModule mod_ssl.c> <IfModule mod_rewrite.c> RewriteEngine on 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 %{REQUEST_URI} ^/adm/jsMath/ RewriteRule (.*) - [L] RewriteCond %{REQUEST_URI} ^(/adm/wrapper|)/adm/.*/exttool$ RewriteRule (.*) - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L] </IfModule> </IfModule>