--- loncom/loncapa_apache.conf 2016/02/17 00:05:09 1.239 +++ loncom/loncapa_apache.conf 2016/02/17 15:52:38 1.240 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.239 2016/02/17 00:05:09 damieng Exp $ +# $Id: loncapa_apache.conf,v 1.240 2016/02/17 15:52:38 damieng Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -445,11 +445,20 @@ SetHandler perl-script PerlHandler Apache::lonxml - + AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::loncacc -SetHandler perl-script +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized