--- loncom/loncapa_apache.conf 2017/12/09 01:37:09 1.261 +++ loncom/loncapa_apache.conf 2018/01/12 13:34:08 1.262 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.261 2017/12/09 01:37:09 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.262 2018/01/12 13:34:08 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -1565,7 +1565,16 @@ SetHandler perl-script PerlHandler Apache::spellcheck - + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lontiny +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + # ------------------------------------------------- Backdoor Adm Tests/Programs