--- loncom/loncapa_apache.conf 2019/01/27 16:02:51 1.267 +++ loncom/loncapa_apache.conf 2019/07/18 18:28:40 1.269 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.267 2019/01/27 16:02:51 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.269 2019/07/18 18:28:40 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -294,6 +294,18 @@ ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonexturlcheck +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -768,6 +780,11 @@ SetHandler perl-script PerlHandler Apache::ltiroster + +SetHandler perl-script +PerlHandler Apache::ltilogout + + PerlAccessHandler Apache::publiccheck AuthType LONCAPA @@ -1772,6 +1789,7 @@ PerlSetVar lonZipDir /home/http 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,