--- loncom/loncapa_apache.conf 2006/11/10 02:06:54 1.161 +++ loncom/loncapa_apache.conf 2007/03/01 18:04:27 1.163 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.161 2006/11/10 02:06:54 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.163 2007/03/01 18:04:27 raeburn Exp $ ## # @@ -516,6 +516,16 @@ PerlHandler Apache::restrictedaccess ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +SetHandler perl-script +PerlAuthzHandler Apache::lonacc +PerlHandler Apache::blockedaccess +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -685,6 +695,17 @@ PerlHandler Apache::lonmodifycourse ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::domainprefs +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler