--- loncom/loncapa_apache.conf 2022/06/30 21:04:15 1.278 +++ loncom/loncapa_apache.conf 2022/12/31 14:09:01 1.279 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.278 2022/06/30 21:04:15 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.279 2022/12/31 14:09:01 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -763,6 +763,17 @@ PerlHandler Apache::londependencies 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::loncourseauthor +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler