--- loncom/Attic/srm.conf 2001/02/07 00:31:38 1.5 +++ loncom/Attic/srm.conf 2001/04/05 19:35:15 1.12 @@ -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> @@ -433,6 +437,24 @@ 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 @@ -440,6 +462,36 @@ PerlHandler Apache::lonpublisher ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized.html +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/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>