--- loncom/loncapa_apache.conf 2019/01/20 23:40:32 1.266 +++ loncom/loncapa_apache.conf 2019/01/27 16:02:51 1.267 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.266 2019/01/20 23:40:32 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.267 2019/01/27 16:02:51 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -788,6 +788,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