--- loncom/Attic/srm.conf 2001/01/03 18:25:43 1.2 +++ loncom/Attic/srm.conf 2001/05/21 20:26:04 1.15 @@ -289,6 +289,7 @@ ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized.html ErrorDocument 500 /adm/errorhandler +AllowOverride None </LocationMatch> # ------------------------------------------------------------------------- RAT @@ -308,14 +309,19 @@ SetHandler perl-script PerlHandler Apache::lonratsrv </LocationMatch> +<LocationMatch "^/\~.*\/ratparms$"> +SetHandler perl-script +PerlHandler Apache::lonratparms +</LocationMatch> + # --------------------------------------------- Resource Space Content Handlers -<LocationMatch "^/res/.*/$"> +<LocationMatch "^/res.*/$"> SetHandler perl-script PerlHandler Apache::lonindexer </LocationMatch> -<LocationMatch "^/res/.*\.tex$"> +<LocationMatch "^/(res|\~).*\.tex$"> SetHandler perl-script PerlHandler Apache::lontex </LocationMatch> @@ -335,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> @@ -347,6 +353,14 @@ PerlHandler Apache::lonhomework # -------------------------------------------------------------- Admin Programs +<Location /adm/statistics> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonstatistics +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler +</Location> + <Location /adm/roles> PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -422,6 +436,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 @@ -432,6 +473,46 @@ ErrorDocument 406 /adm/unauthorized. ErrorDocument 500 /adm/errorhandler </Location> +<LocationMatch "^(/\~.*/|/adm/pubdir)$"> +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/diff> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::londiff +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized.html +ErrorDocument 500 /adm/errorhandler +</Location> + +<Location /adm/upload> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonupload +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 @@ -457,6 +538,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>