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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 15 Mar 2005 22:17:20 -0000


albertel		Tue Mar 15 17:17:20 2005 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - removeing the .portfolio extension, since it dones't really exist
  - adding a /editupload/ url starter, for when we want to spcify that we want to explictly edit a /uploaded document
  
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.105 loncom/loncapa_apache.conf:1.106
--- loncom/loncapa_apache.conf:1.105	Sun Feb 27 19:23:36 2005
+++ loncom/loncapa_apache.conf	Tue Mar 15 17:17:20 2005
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.105 2005/02/28 00:23:36 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.106 2005/03/15 22:17:20 albertel Exp $
 ##
 
 #
@@ -69,13 +69,6 @@
 PerlHandler Apache::portfolio
 </Location>
 
-<LocationMatch "\.portfolio$">
-SetHandler perl-script
-PerlHandler Apache::portfolio
-</LocationMatch>
-
-
-
 <LocationMatch "^/+userfiles.*">
 PerlAccessHandler       Apache::lontokacc
 PerlCleanupHandler	Apache::lontokacc::removefile
@@ -90,6 +83,13 @@
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
+<LocationMatch "^/+editupload.*">
+PerlAccessHandler	Apache::lonacc
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
 <LocationMatch "^/+uploaded/.*/.*/internal/.*">
 PerlAccessHandler	Apache::lonuploadedacc
 </LocationMatch>
@@ -244,7 +244,7 @@
 PerlHandler Apache::lonsequence
 </LocationMatch>
 
-<LocationMatch "^/+(res|\~|public|uploaded|adm).*\.meta$">
+<LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
 SetHandler perl-script
 PerlHandler Apache::lonmeta
 ErrorDocument     413 /adm/overloaded.txt