--- loncom/loncapa_apache.conf 2017/06/22 02:11:23 1.215.2.22.2.1 +++ loncom/loncapa_apache.conf 2019/07/31 13:59:25 1.215.2.24 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.22.2.1 2017/06/22 02:11:23 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.24 2019/07/31 13:59:25 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -270,18 +270,17 @@ 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 +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonexturlcheck +ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/notinit.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler - + AuthType LONCAPA @@ -720,6 +719,16 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::admannotations +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user