Return to loncapa_rewrite_off.conf CVS log | Up to [LON-CAPA] / loncom / rewrites |
- Support image preview in Daxe pop-up window in case where mod_ssl is enabled, but rewrites from https to https are disabled, and browser does not accept server's Apache/SSL certificate (e.g., self-signed or expired).
<IfModule mod_ssl.c> <IfModule mod_rewrite.c> 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 %{REQUEST_URI} ^/daxeopen/ [NC] RewriteRule (.*) - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L] </IfModule> </IfModule>