--- loncom/loncapa_apache.conf 2020/09/11 22:42:00 1.215.2.25.2.4 +++ loncom/loncapa_apache.conf 2022/07/08 16:21:07 1.215.2.30.2.2 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.25.2.4 2020/09/11 22:42:00 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.30.2.2 2022/07/08 16:21:07 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 @@ -661,6 +661,16 @@ SetHandler perl-script PerlHandler Apache::lonlogin + +SetHandler perl-script +PerlHandler Apache::ltiauth + + + +SetHandler perl-script +PerlHandler Apache::lonrelaunch + + PerlAccessHandler Apache::publiccheck AuthType LONCAPA @@ -681,6 +691,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 +734,7 @@ PerlHandler Apache::migrateuser + Header set Cache-Control "private,no-store,no-cache,max-age=0" AuthType shibboleth ShibUseEnvironment On @@ -721,12 +743,25 @@ PerlHandler Apache::migrateuser require valid-user PerlAuthzHandler Apache::lonshibacc PerlAuthzHandler Apache::lonacc + ErrorDocument 403 /adm/login + ErrorDocument 500 /adm/errorhandler PerlTypeHandler Apache::lonnoshib + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonlinkexit +ErrorDocument 403 /adm/login +ErrorDocument 409 /adm/preferences?action=lockwarning +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1468,6 +1503,7 @@ SetHandler perl-script PerlHandler Apache::spellcheck + AuthType LONCAPA Require valid-user @@ -1653,6 +1689,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,