--- loncom/Attic/srm.conf 2001/05/28 14:19:14 1.17 +++ loncom/Attic/srm.conf 2001/08/08 03:07:53 1.23 @@ -309,10 +309,13 @@ SetHandler perl-script PerlHandler Apache::lonratsrv - + +PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonratparms - +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + # --------------------------------------------- Resource Space Content Handlers @@ -346,11 +349,19 @@ SetHandler perl-script PerlHandler Apache::lonxml - + SetHandler perl-script PerlHandler Apache::lonhomework + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonwrapper +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + # -------------------------------------------------------------- Admin Programs @@ -473,7 +484,7 @@ ErrorDocument 406 /adm/unauthorized. ErrorDocument 500 /adm/errorhandler - + PerlAccessHandler Apache::loncacc SetHandler perl-script PerlHandler Apache::lonpubdir @@ -483,6 +494,16 @@ ErrorDocument 406 /adm/unauthorized. ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonpubdir +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -493,6 +514,16 @@ ErrorDocument 406 /adm/unauthorized. ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::loncfile +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -624,6 +655,14 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::groupsort +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + SetHandler perl-script PerlHandler Apache::lonerrorhandler