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

damieng damieng at source.lon-capa.org
Wed Feb 17 10:52:38 EST 2016


damieng		Wed Feb 17 15:52:38 2016 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  access check for opening a supplemental file in Daxe
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.239 loncom/loncapa_apache.conf:1.240
--- loncom/loncapa_apache.conf:1.239	Wed Feb 17 00:05:09 2016
+++ loncom/loncapa_apache.conf	Wed Feb 17 15:52:38 2016
@@ -2,7 +2,7 @@
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
 
-# $Id: loncapa_apache.conf,v 1.239 2016/02/17 00:05:09 damieng Exp $
+# $Id: loncapa_apache.conf,v 1.240 2016/02/17 15:52:38 damieng Exp $
 
 #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -445,11 +445,20 @@
 PerlHandler Apache::lonxml
 </LocationMatch>
 
-<LocationMatch "^/daxe(page|open)/priv/.*$">
+<LocationMatch "^/daxe(page|open)/priv/">
 AuthType LONCAPA
 Require valid-user
 PerlAuthzHandler       Apache::loncacc
-SetHandler perl-script
+ErrorDocument     403 /adm/login
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument     406 /adm/unauthorized
+ErrorDocument     500 /adm/errorhandler
+</LocationMatch>
+
+<LocationMatch "^/daxe(page|open)/uploaded/">
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler       Apache::lonacc
 ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized




More information about the LON-CAPA-cvs mailing list