--- loncom/loncapa_apache.conf 2011/12/25 20:41:59 1.207 +++ loncom/loncapa_apache.conf 2011/12/28 21:49:41 1.208 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.207 2011/12/25 20:41:59 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.208 2011/12/28 21:49:41 raeburn Exp $ ## # @@ -1246,6 +1246,16 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonblockingmenu +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::publiccheck AuthType LONCAPA