--- loncom/loncapa_apache.conf 2023/07/07 10:37:03 1.215.2.30.2.4 +++ loncom/loncapa_apache.conf 2023/09/07 19:36:15 1.215.2.30.2.5 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.30.2.4 2023/07/07 10:37:03 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.30.2.5 2023/09/07 19:36:15 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -655,6 +655,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::loncourseuser +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler