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

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 16 Mar 2004 23:02:43 -0000


raeburn		Tue Mar 16 18:02:43 2004 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  Declaration of handlers for imsimport and imsimportdocs, used to perform import of
  IMS packages in Construction Space, and in DOCS within a course, respectively.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.72 loncom/loncapa_apache.conf:1.73
--- loncom/loncapa_apache.conf:1.72	Tue Feb 17 18:44:47 2004
+++ loncom/loncapa_apache.conf	Tue Mar 16 18:02:43 2004
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.72 2004/02/17 23:44:47 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.73 2004/03/16 23:02:43 raeburn Exp $
 ##
 
 #
@@ -504,6 +504,16 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/imsimport>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::imsimport
+ErrorDocument     403 /adm/login
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument     406 /adm/unauthorized
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/testbank>
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
@@ -595,6 +605,14 @@
  PerlCleanupHandler Apache::londocs::untiehash
 ErrorDocument     403 /adm/login
 ErrorDocument	  500 /adm/errorhandler
+</Location>
+
+<Location /adm/imsimportdocs>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::imsimportdocs
+ErrorDocument     403 /adm/login
+ErrorDocument     500 /adm/errorhandler
 </Location>
 
 <Location /adm/announcements>