[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf

raeburn raeburn at source.lon-capa.org
Fri Jun 24 15:36:31 EDT 2016


raeburn		Fri Jun 24 19:36:31 2016 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - Display image preview in Daxe pop-up window. 
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.244 loncom/loncapa_apache.conf:1.245
--- loncom/loncapa_apache.conf:1.244	Sat Apr  2 04:30:29 2016
+++ loncom/loncapa_apache.conf	Fri Jun 24 19:36:31 2016
@@ -2,7 +2,7 @@
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
 
-# $Id: loncapa_apache.conf,v 1.244 2016/04/02 04:30:29 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.245 2016/06/24 19:36:31 raeburn Exp $
 
 #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -514,10 +514,12 @@
 PerlHandler Apache::daxeopen
 </LocationMatch>
 
+<LocationMatch "(?i)^/daxeopen/priv/.*\.(?!task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
 <IfModule mod_rewrite.c>
   RewriteEngine on
-  RewriteRule ^/daxeopen/(.*) /$1
+  RewriteRule /daxeopen/(.*) /$1
 </IfModule>
+</LocationMatch>
 
 <LocationMatch "^/daxesave$">
 AuthType LONCAPA




More information about the LON-CAPA-cvs mailing list