--- loncom/loncapa_apache.conf 2020/09/12 18:04:54 1.215.2.25.2.5 +++ 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.25.2.5 2020/09/12 18:04:54 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) @@ -661,6 +661,11 @@ SetHandler perl-script PerlHandler Apache::lonlogin + +SetHandler perl-script +PerlHandler Apache::ltiauth + + PerlAccessHandler Apache::publiccheck AuthType LONCAPA @@ -681,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 @@ -713,6 +729,7 @@ PerlHandler Apache::migrateuser + Header set Cache-Control "private,no-store,no-cache,max-age=0" AuthType shibboleth ShibUseEnvironment On @@ -721,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 @@ -1468,6 +1487,7 @@ SetHandler perl-script PerlHandler Apache::spellcheck + AuthType LONCAPA Require valid-user @@ -1653,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,