--- loncom/loncapa_apache.conf 2023/08/28 18:58:45 1.282 +++ loncom/loncapa_apache.conf 2023/08/28 20:40:00 1.283 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.282 2023/08/28 18:58:45 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.283 2023/08/28 20:40:00 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -503,6 +503,26 @@ Require valid-user PerlAuthzHandler Apache::lonacc + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::loncacc + + + +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + + +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user