--- loncom/loncapa_apache.conf 2010/02/22 22:53:40 1.192 +++ loncom/loncapa_apache.conf 2010/05/17 20:29:02 1.192.2.1 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.192 2010/02/22 22:53:40 droeschl Exp $ +## $Id: loncapa_apache.conf,v 1.192.2.1 2010/05/17 20:29:02 raeburn Exp $ ## # @@ -105,17 +105,24 @@ SetHandler perl-script PerlHandler Apache::portfolio + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonpdfupload +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lontokacc PerlCleanupHandler Apache::lontokacc::removefile PerlCleanupHandler Apache::lonacc::cleanup - -SetHandler perl-script -PerlHandler Apache::lonpdfupload - - AuthType LONCAPA Require valid-user @@ -1285,7 +1292,6 @@ ErrorDocument 500 /adm/errorhandler SetHandler perl-script PerlHandler Apache::coursecatalog -PerlAccessHandler Apache::publiccheck ErrorDocument 500 /adm/errorhandler