--- loncom/Attic/srm.conf 2001/03/29 21:45:06 1.9 +++ 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> @@ -466,7 +465,7 @@ ErrorDocument 406 /adm/unauthorized. ErrorDocument 500 /adm/errorhandler </Location> -<Location /adm/pubdir> +<LocationMatch "^(/\~.*/|/adm/pubdir)$"> PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonpubdir @@ -474,7 +473,7 @@ ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized.html ErrorDocument 500 /adm/errorhandler -</Location> +</LocationMatch> <Location /adm/retrieve> PerlAccessHandler Apache::lonacc @@ -483,6 +482,16 @@ 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>