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

raeburn raeburn at source.lon-capa.org
Tue Jan 7 15:03:32 EST 2014


raeburn		Tue Jan  7 20:03:32 2014 EDT

  Modified files:              
    /loncom/rewrites	loncapa_rewrite_off.conf loncapa_rewrite_on.conf 
  Log:
  - Bug 6662.
    - jsMath files need to be served using the same protocol as the page
      using them (i.e., http for external resources pointing at http://
      and syllabus pages).
  
  
Index: loncom/rewrites/loncapa_rewrite_off.conf
diff -u loncom/rewrites/loncapa_rewrite_off.conf:1.3 loncom/rewrites/loncapa_rewrite_off.conf:1.4
--- loncom/rewrites/loncapa_rewrite_off.conf:1.3	Sat Dec 28 03:16:13 2013
+++ loncom/rewrites/loncapa_rewrite_off.conf	Tue Jan  7 20:03:32 2014
@@ -9,6 +9,8 @@
     RewriteRule (.*) - [L]
     RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$
     RewriteRule (.*) - [L]
+    RewriteCond %{REQUEST_URI} ^/adm/jsMath/
+    RewriteRule (.*) - [L]
     RewriteCond %{HTTPS} !=on
     RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]
   </IfModule>
Index: loncom/rewrites/loncapa_rewrite_on.conf
diff -u loncom/rewrites/loncapa_rewrite_on.conf:1.3 loncom/rewrites/loncapa_rewrite_on.conf:1.4
--- loncom/rewrites/loncapa_rewrite_on.conf:1.3	Sat Dec 28 03:16:13 2013
+++ loncom/rewrites/loncapa_rewrite_on.conf	Tue Jan  7 20:03:32 2014
@@ -9,6 +9,8 @@
     RewriteRule (.*) - [L]
     RewriteCond %{REQUEST_URI} ^/public/.*/syllabus$
     RewriteRule (.*) - [L]
+    RewriteCond %{REQUEST_URI} ^/adm/jsMath/
+    RewriteRule (.*) - [L]
     RewriteCond %{HTTPS} !=on
     RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]
   </IfModule>




More information about the LON-CAPA-cvs mailing list