--- loncom/loncapa_apache.conf 2018/07/18 13:44:55 1.263 +++ 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.263 2018/07/18 13:44:55 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 @@ -844,6 +855,16 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::admannotations +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1565,7 +1586,7 @@ SetHandler perl-script PerlHandler Apache::spellcheck - + AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc @@ -1733,6 +1754,7 @@ Options Indexes FollowSymLinks PerlSetVar lonVersion '' PerlSetVar lonIDsDir /home/httpd/lonIDs +PerlSetVar lonBalanceDir /home/httpd/balanceIDs PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs PerlSetVar lonTabDir /home/httpd/lonTabs PerlSetVar lonUsersDir /home/httpd/lonUsers