--- loncom/loncapa_apache.conf 2019/08/01 18:46:00 1.215.2.25 +++ loncom/loncapa_apache.conf 2020/01/13 03:25:39 1.215.2.25.2.1 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.25 2019/08/01 18:46:00 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.25.2.1 2020/01/13 03:25:39 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -270,6 +270,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 @@ -1450,7 +1463,16 @@ SetHandler perl-script 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