--- loncom/loncapa_apache.conf 2020/09/10 21:23:00 1.215.2.25.2.3 +++ 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.3 2020/09/10 21:23: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,6 +150,10 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + + Options +FollowSymLinks -Includes + + AuthType LONCAPA Require valid-user @@ -657,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 @@ -677,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 @@ -709,6 +734,7 @@ PerlHandler Apache::migrateuser + Header set Cache-Control "private,no-store,no-cache,max-age=0" AuthType shibboleth ShibUseEnvironment On @@ -717,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 @@ -1464,6 +1503,7 @@ SetHandler perl-script PerlHandler Apache::spellcheck + AuthType LONCAPA Require valid-user @@ -1598,10 +1638,6 @@ AllowOverride None DirectoryIndex disabled - - Options +FollowSymLinks -Includes - - # ============================================================= Access Handlers # ------------------------------------------------- Allow server-status reports @@ -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,