--- loncom/Attic/srm.conf 2001/01/29 18:58:29 1.3 +++ loncom/Attic/srm.conf 2001/03/30 01:59:04 1.10 @@ -289,7 +289,6 @@ ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized.html ErrorDocument 500 /adm/errorhandler -Options Indexes AllowOverride None </LocationMatch> @@ -310,6 +309,11 @@ SetHandler perl-script PerlHandler Apache::lonratsrv </LocationMatch> +<LocationMatch "^/\~.*\/ratparms$"> +SetHandler perl-script +PerlHandler Apache::lonratparms +</LocationMatch> + # --------------------------------------------- Resource Space Content Handlers <LocationMatch "^/res/.*/$"> @@ -337,7 +341,7 @@ SetHandler perl-script PerlHandler Apache::lonmeta </LocationMatch> -<LocationMatch "^/res/.*\.(xml|html|htm|xhtml|xhtm)$"> +<LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$"> SetHandler perl-script PerlHandler Apache::lonxml </LocationMatch> @@ -424,6 +428,33 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler </Location> +<Location /adm/grades> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::grades +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler +</Location> + +<Location /adm/createcourse> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::loncreatecourse +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler +</Location> + +<Location /adm/createuser> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::loncreateuser +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler +</Location> + <Location /adm/publish> PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -434,6 +465,26 @@ ErrorDocument 406 /adm/unauthorized. ErrorDocument 500 /adm/errorhandler </Location> +<LocationMatch "^/\~.*/$"> +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 +</LocationMatch> + +<Location /adm/retrieve> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonretrieve +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 500 /adm/errorhandler +</Location> + <Location /adm/assesscalc> PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -459,6 +510,15 @@ PerlHandler Apache::lonspreadsheet ErrorDocument 403 /adm/login ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler +</Location> + +<Location /adm/chart> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonchart +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler </Location> <Location /adm/dropadd>