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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Mon, 19 May 2008 17:15:13 -0000


raeburn		Mon May 19 13:15:13 2008 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
   Directive for lonpickauthor.pm
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.175 loncom/loncapa_apache.conf:1.176
--- loncom/loncapa_apache.conf:1.175	Tue May 13 11:06:14 2008
+++ loncom/loncapa_apache.conf	Mon May 19 13:15:13 2008
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.175 2008/05/13 15:06:14 www Exp $
+## $Id: loncapa_apache.conf,v 1.176 2008/05/19 17:15:13 raeburn Exp $
 ##
 
 #
@@ -487,6 +487,16 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/pickauthor>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickauthor
+ErrorDocument     403 /adm/login
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/pickstudent>
 AuthType LONCAPA
 Require valid-user