--- loncom/loncapa_apache.conf 2020/09/11 22:37:59 1.215.2.28
+++ loncom/loncapa_apache.conf 2021/12/30 06:50:12 1.215.2.30.2.1
@@ -2,7 +2,7 @@
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-# $Id: loncapa_apache.conf,v 1.215.2.28 2020/09/11 22:37:59 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.215.2.30.2.1 2021/12/30 06:50:12 raeburn Exp $
#
# LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -150,7 +150,7 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
-
+
Options +FollowSymLinks -Includes
@@ -275,6 +275,19 @@ ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
+PerlHandler Apache::lonexttool
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/notinit.html
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -648,6 +661,11 @@ SetHandler perl-script
PerlHandler Apache::lonlogin
+
+SetHandler perl-script
+PerlHandler Apache::ltiauth
+
+
PerlAccessHandler Apache::publiccheck
AuthType LONCAPA
@@ -668,6 +686,17 @@ PerlHandler Apache::blockedaccess
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonprotected
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -700,6 +729,7 @@ PerlHandler Apache::migrateuser
+ Header set Cache-Control "private,no-store,no-cache,max-age=0"
AuthType shibboleth
ShibUseEnvironment On
@@ -708,6 +738,8 @@ PerlHandler Apache::migrateuser
require valid-user
PerlAuthzHandler Apache::lonshibacc
PerlAuthzHandler Apache::lonacc
+ ErrorDocument 403 /adm/login
+ ErrorDocument 500 /adm/errorhandler
PerlTypeHandler Apache::lonnoshib
@@ -1456,6 +1488,16 @@ PerlHandler Apache::spellcheck
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lontiny
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
# ------------------------------------------------- Backdoor Adm Tests/Programs
@@ -1631,6 +1673,8 @@ PerlSetVar lonIncludes /home/http
PerlSetVar lonZipDir /home/httpd/zipspool
PerlSetVar lonCaptchaDir /home/httpd/captchaspool
PerlSetVar lonCaptchaDb /home/httpd/captchadb
+PerlSetVar lonLTIDir /home/httpd/lonLTItmp
+PerlSetVar ltiIDsDir /home/httpd/ltiIDs
PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
# & separated list of % separated fields in order of
# - internal name to call it,