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

raeburn raeburn at source.lon-capa.org
Tue Dec 14 08:08:27 EST 2021


raeburn		Tue Dec 14 13:08:27 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom	loncapa_apache.conf 
  Log:
  - For 2.11
    Backport 1.276
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.215.2.29 loncom/loncapa_apache.conf:1.215.2.30
--- loncom/loncapa_apache.conf:1.215.2.29	Sat Sep 12 17:57:03 2020
+++ loncom/loncapa_apache.conf	Tue Dec 14 13:08:26 2021
@@ -2,7 +2,7 @@
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
 
-# $Id: loncapa_apache.conf,v 1.215.2.29 2020/09/12 17:57:03 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.215.2.30 2021/12/14 13:08:26 raeburn Exp $
 
 #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -700,6 +700,7 @@
 </Location>
 
 <Location /adm/sso>
+  Header set Cache-Control "private,no-store,no-cache,max-age=0"
   <IfModule mod_shib>
     AuthType shibboleth
     ShibUseEnvironment On
@@ -708,6 +709,8 @@
     require valid-user
     PerlAuthzHandler       Apache::lonshibacc
     PerlAuthzHandler       Apache::lonacc
+    ErrorDocument     403 /adm/login
+    ErrorDocument     500 /adm/errorhandler
   </IfModule>
   <IfModule !mod_shib>
     PerlTypeHandler        Apache::lonnoshib




More information about the LON-CAPA-cvs mailing list