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

matthew lon-capa-cvs@mail.lon-capa.org
Sat, 10 Aug 2002 14:57:54 -0000


matthew		Sat Aug 10 10:57:54 2002 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  Attempt to prevent logging of errors on accesses to the remote.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.13 loncom/loncapa_apache.conf:1.14
--- loncom/loncapa_apache.conf:1.13	Thu Aug  8 09:45:21 2002
+++ loncom/loncapa_apache.conf	Sat Aug 10 10:57:54 2002
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.13 2002/08/08 13:45:21 www Exp $
+## $Id: loncapa_apache.conf,v 1.14 2002/08/10 14:57:54 matthew Exp $
 ##
 ## 1/11/2002 - Scott Harrison
 ## 2/19/2002 - Scott Harrison
@@ -44,6 +44,14 @@
 # ------------------------------------------------------------- Access Handlers
 
 PerlTransHandler	Apache::lontrans
+
+<LocationMatch "^/res/adm/pages/*">
+ErrorDocument     403 /adm/login
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument     406 /adm/roles
+ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
 
 <LocationMatch "^/res.*">
 PerlAccessHandler       Apache::lonacc