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

raeburn raeburn@source.lon-capa.org
Wed, 12 Aug 2009 19:07:18 -0000


raeburn		Wed Aug 12 19:07:18 2009 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom	loncapa_apache.conf 
  Log:
  - Backport 1.187.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.185 loncom/loncapa_apache.conf:1.185.8.1
--- loncom/loncapa_apache.conf:1.185	Mon Apr 13 20:42:28 2009
+++ loncom/loncapa_apache.conf	Wed Aug 12 19:07:18 2009
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.185 2009/04/13 20:42:28 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.185.8.1 2009/08/12 19:07:18 raeburn Exp $
 ##
 
 #
@@ -527,6 +527,17 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/pickuser>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickuser
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/pickcourse>
 AuthType LONCAPA
 Require valid-user
@@ -733,6 +744,17 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/requestcourse>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonrequestcourse
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/createcourse>
 AuthType LONCAPA
 Require valid-user