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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 29 Aug 2006 14:21:18 -0000


albertel		Tue Aug 29 10:21:18 2006 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - adding error handler to more urls
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.153 loncom/loncapa_apache.conf:1.154
--- loncom/loncapa_apache.conf:1.153	Fri Aug  4 15:05:58 2006
+++ loncom/loncapa_apache.conf	Tue Aug 29 10:21:17 2006
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.153 2006/08/04 19:05:58 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.154 2006/08/29 14:21:17 albertel Exp $
 ##
 
 #
@@ -513,6 +513,7 @@
 SetHandler perl-script
 PerlAuthzHandler       Apache::lonacc
 PerlHandler Apache::restrictedaccess
+ErrorDocument	  500 /adm/errorhandler
 </Location>
 
 <Location /adm/logout>
@@ -522,6 +523,7 @@
 SetHandler perl-script
 PerlHandler Apache::lonlogout
 ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
 </Location>
 
 <Location /adm/switchserver>
@@ -531,6 +533,7 @@
 SetHandler perl-script
 PerlHandler Apache::switchserver
 ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
 </Location>
 
 <Location /adm/authenticate>
@@ -1121,6 +1124,7 @@
 PerlAuthzHandler	Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::lonhelp
+ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
 <LocationMatch "^/adm/helpmenu">
@@ -1129,6 +1133,7 @@
 PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::lonhelpmenu
+ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
 <LocationMatch "^/adm/support">
@@ -1137,16 +1142,19 @@
 PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::lonsupportreq
+ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
 <LocationMatch "^/adm/helpdesk">
 SetHandler perl-script
 PerlHandler Apache::lonsupportreq
+ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
 <LocationMatch "^/adm/css">
 SetHandler perl-script
 PerlHandler Apache::loncss
+ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
 # ------------------------------------------------- Backdoor Adm Tests/Programs