--- loncom/loncapa_apache.conf 2012/03/18 21:56:53 1.214 +++ loncom/loncapa_apache.conf 2012/04/18 18:51:08 1.215 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.214 2012/03/18 21:56:53 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.215 2012/04/18 18:51:08 raeburn Exp $ ## # @@ -623,6 +623,17 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::londependencies +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + SetHandler perl-script PerlHandler Apache::lonlogin