--- loncom/loncapa_apache.conf 2022/12/31 14:09:01 1.279 +++ loncom/loncapa_apache.conf 2023/04/02 20:25:33 1.280 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.279 2022/12/31 14:09:01 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.280 2023/04/02 20:25:33 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -774,6 +774,17 @@ PerlHandler Apache::loncourseauthor ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::loncourseuser +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler