--- loncom/Attic/access.conf 2000/10/16 18:13:44 1.10 +++ loncom/Attic/access.conf 2000/11/23 11:49:06 1.19 @@ -9,7 +9,7 @@ ## ## Gerd Kortemeyer ## -## 10/3,10/5,10/12,10/16 +## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23 ## ## access.conf -- Apache HTTP server configuration file ## @@ -138,7 +138,7 @@ PerlSetVar lonDefDomain {[[[[lonDe PerlSetVar lonLoadLim {[[[[lonLoadLim]]]]} -# Expiration for local copies in seconds +# Expiration for local copies and tokens in seconds PerlSetVar lonExpire {[[[[lonExpire]]]]} @@ -173,6 +173,15 @@ ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/roles </LocationMatch> +<LocationMatch "^/priv.*"> +PerlAccessHandler Apache::loncacc +SetHandler perl-script +PerlHandler Apache::lonconstruct +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized.html +</LocationMatch> + <LocationMatch "^/raw.*"> PerlAccessHandler Apache::lonracc </LocationMatch> @@ -223,12 +232,17 @@ SetHandler perl-script PerlHandler Apache::lonsequence </LocationMatch> -<LocationMatch "^/res/.*\.xml$"> +<LocationMatch "^/res/.*\.meta$> +SetHandler perl-script +PerlHandler Apache::lonmeta +</LocationMatch> + +<LocationMatch "^/res/.*\.(xml|html|htm|xhtml|xhtm)$"> SetHandler perl-script PerlHandler Apache::lonxml </LocationMatch> -<LocationMatch "^/res/.*\.problem$"> +<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form)$"> SetHandler perl-script PerlHandler Apache::lonhomework </LocationMatch> @@ -266,6 +280,13 @@ PerlHandler Apache::admannotations ErrorDocument 403 /adm/login </Location> +<Location /adm/bookmarks> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::admbookmarks +ErrorDocument 403 /adm/login +</Location> + <Location /adm/flip> PerlAccessHandler Apache::lonacc SetHandler perl-script @@ -281,3 +302,18 @@ PerlHandler Apache::lonambiguous ErrorDocument 403 /adm/login </Location> +<LocationMatch "^/adm/email"> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonmsg +ErrorDocument 403 /adm/login +</LocationMatch> + +<LocationMatch "^/adm/parmset"> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonparmset +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +</LocationMatch> +