[LON-CAPA-cvs] cvs: loncom /rewrites loncapa_rewrite_off.conf

raeburn raeburn at source.lon-capa.org
Thu Aug 24 17:25:25 EDT 2023


raeburn		Thu Aug 24 21:25:25 2023 EDT

  Modified files:              
    /loncom/rewrites	loncapa_rewrite_off.conf 
  Log:
  - 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). 
  
  
Index: loncom/rewrites/loncapa_rewrite_off.conf
diff -u loncom/rewrites/loncapa_rewrite_off.conf:1.8 loncom/rewrites/loncapa_rewrite_off.conf:1.9
--- loncom/rewrites/loncapa_rewrite_off.conf:1.8	Thu Dec 27 20:11:42 2018
+++ loncom/rewrites/loncapa_rewrite_off.conf	Thu Aug 24 21:25:25 2023
@@ -11,6 +11,8 @@
     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>




More information about the LON-CAPA-cvs mailing list