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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 31 Mar 2004 18:07:37 -0000


raeburn		Wed Mar 31 13:07:37 2004 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  Modifications to the handling of requests for files uploaded via DOCS (URI: /uploaded). lonuploadedacc replaced with lonacc as AccessHandler. lonuploadedrep added for PerlHeaderParserHandler phase. lonpage and lonsequence added as handlers for .page and .sequence files uploaded to DOCS when an IMS content package is imported. 
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.74 loncom/loncapa_apache.conf:1.75
--- loncom/loncapa_apache.conf:1.74	Tue Mar 30 23:38:06 2004
+++ loncom/loncapa_apache.conf	Wed Mar 31 13:07:37 2004
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.74 2004/03/31 04:38:06 www Exp $
+## $Id: loncapa_apache.conf,v 1.75 2004/03/31 18:07:37 raeburn Exp $
 ##
 
 #
@@ -68,10 +68,21 @@
 PerlCleanupHandler	Apache::lontokacc::removefile
 </LocationMatch>
 
-<LocationMatch "^/+uploaded.*">
-PerlAccessHandler	Apache::lonuploadedacc
+<LocationMatch "^/uploaded.*">
+PerlAccessHandler	Apache::lonacc
+PerlHeaderParserHandler Apache::lonuploadrep
 ErrorDocument     404 /adm/notfound.html
 ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
+<LocationMatch "^/uploaded/.*\.page$">
+SetHandler perl-script
+PerlHandler Apache::lonpage
+</LocationMatch>
+
+<LocationMatch "^/uploaded/.*\.sequence$">
+SetHandler perl-script
+PerlHandler Apache::lonsequence
 </LocationMatch>
 
 <LocationMatch "^/+public/.*/syllabus$">