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

taceyjo1 lon-capa-cvs@mail.lon-capa.org
Sat, 12 Jun 2004 01:11:00 -0000


taceyjo1		Fri Jun 11 21:11:00 2004 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  Here is the handler  Have fun :P
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.82 loncom/loncapa_apache.conf:1.83
--- loncom/loncapa_apache.conf:1.82	Tue Jun  1 05:55:04 2004
+++ loncom/loncapa_apache.conf	Fri Jun 11 21:11:00 2004
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.82 2004/06/01 09:55:04 foxr Exp $
+## $Id: loncapa_apache.conf,v 1.83 2004/06/12 01:11:00 taceyjo1 Exp $
 ##
 
 #
@@ -258,6 +258,15 @@
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
+<LocationMatch "^/adm/source/">
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonsource
+ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
+
 <LocationMatch "^/adm/localize/">
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script