--- loncom/Attic/access.conf 2000/11/02 14:16:59 1.12 +++ loncom/Attic/access.conf 2000/12/06 20:33:52 1.21 @@ -9,7 +9,7 @@ ## ## Gerd Kortemeyer ## -## 10/3,10/5,10/12,10/16,10/20,11/2 +## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23,11/28,12/06 ## ## access.conf -- Apache HTTP server configuration file ## @@ -138,10 +138,14 @@ PerlSetVar lonDefDomain {[[[[lonDe PerlSetVar lonLoadLim {[[[[lonLoadLim]]]]} -# Expiration for local copies in seconds +# Expiration for local copies and tokens in seconds PerlSetVar lonExpire {[[[[lonExpire]]]]} +# Key to issue receipts + +PerlSetVar lonReceipt {[[[[lonReceipt]]]]} + # ----------------------------------------------------------- Internal Settings PerlSetVar lonIDsDir /home/httpd/lonIDs @@ -173,6 +177,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> @@ -228,16 +241,21 @@ SetHandler perl-script PerlHandler Apache::lonmeta </LocationMatch> -<LocationMatch "^/res/.*\.xml$"> +<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> +<LocationMatch "^/(res|\~).*\.(assesscalc|studentcalc|classcalc)$"> +SetHandler perl-script +PerlHandler Apache::lonspreadsheet +</LocationMatch> + # -------------------------------------------------------------- Admin Programs <Location /adm/roles> @@ -293,10 +311,27 @@ PerlHandler Apache::lonambiguous ErrorDocument 403 /adm/login </Location> -<LocationMatch "^/adm/email/"> +<Location /adm/email> PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonmsg ErrorDocument 403 /adm/login -</LocationMatch> +</Location> + +<Location /adm/parmset> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonparmset +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +</Location> + +<Location /adm/publish> +PerlAccessHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonpublisher +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized.html +</Location>