--- loncom/loncapa_apache.conf 2019/07/28 15:26:07 1.215.2.23 +++ 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.23 2019/07/28 15:26:07 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,6 +270,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