--- loncom/loncapa_apache.conf 2018/12/27 20:11:29 1.265 +++ loncom/loncapa_apache.conf 2019/05/02 02:18:10 1.268 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.265 2018/12/27 20:11:29 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.268 2019/05/02 02:18:10 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -294,6 +294,18 @@ ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonexturlcheck +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -788,6 +800,17 @@ PerlHandler Apache::blockedaccess ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonprotected +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1575,7 +1598,7 @@ SetHandler perl-script PerlHandler Apache::spellcheck - + AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc