--- loncom/Attic/access.conf	2000/08/30 11:11:26	1.4
+++ loncom/Attic/access.conf	2000/12/26 16:29:26	1.23
@@ -3,6 +3,15 @@
 ##
 ## 7/8,7/10,7/14,11/22,01/06,01/20,01/21,5/29,5/31,7/1,7/10,8/22,8/29
 ##
+## Scott Harrison
+##
+## 9/21,9/23
+##
+## Gerd Kortemeyer
+##
+## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23,11/28,12/06,12/19,
+## 12/26
+##
 ## access.conf -- Apache HTTP server configuration file
 ##
 
@@ -112,27 +121,31 @@ Options Indexes FollowSymLinks
 
 # LON-internal HostID of this machine
 
-PerlSetVar       lonHostID    msul1
+PerlSetVar       lonHostID    {[[[[lonHostID]]]]}
  
 # Role of this machine: library, access
 
-PerlSetVar       lonRole      library
+PerlSetVar       lonRole      {[[[[lonRole]]]]}
 
 # Server Administration
 
-PerlSetVar       lonAdmEMail  korte@lite.msu.edu
+PerlSetVar       lonAdmEMail  {[[[[lonAdmEMail]]]]}
 
 # Default domain
 
-PerlSetVar       lonDefDomain msu
+PerlSetVar       lonDefDomain {[[[[lonDefDomain]]]]}
 
 # Load Limit ( 100% loadavg )
 
-PerlSetVar       lonLoadLim   2.00
+PerlSetVar       lonLoadLim   {[[[[lonLoadLim]]]]}
+
+# Expiration for local copies and tokens in seconds
 
-# Expiration for local copies in seconds
+PerlSetVar       lonExpire    {[[[[lonExpire]]]]}
 
-PerlSetVar       lonExpire    86400
+# Key to issue receipts
+ 
+PerlSetVar	 lonReceipt   {[[[[lonReceipt]]]]}
 
 # ----------------------------------------------------------- Internal Settings
 
@@ -165,6 +178,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>
@@ -178,11 +200,6 @@ ErrorDocument     406 /adm/unauthorized.
 
 # ------------------------------------------------------------------------- RAT
 
-<LocationMatch "^/\~.*\.course$">
-SetHandler perl-script
-PerlHandler Apache::lonratedt
-</LocationMatch>
-
 <LocationMatch "^/\~.*\.sequence$">
 SetHandler perl-script
 PerlHandler Apache::lonratedt
@@ -215,15 +232,26 @@ SetHandler perl-script
 PerlHandler Apache::lonpage
 </LocationMatch>
 
-<LocationMatch "^/res/.*\.xml$">
+<LocationMatch "^/res/.*\.sequence$>
+SetHandler perl-script
+PerlHandler Apache::lonsequence
+</LocationMatch>
+
+<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>
+
 # -------------------------------------------------------------- Admin Programs
 
 <Location /adm/roles>
@@ -242,6 +270,7 @@ PerlHandler Apache::lonlogin
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::lonlogout
+ErrorDocument     403 /adm/login
 </Location>
 
 <Location /adm/authenticate>
@@ -250,25 +279,86 @@ PerlHandler Apache::lonauth
 </Location>
 
 <Location /adm/annotations>
+PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::admannotations
+ErrorDocument     403 /adm/login
 </Location>
 
-
-
-# ------------------------------------------------------------------ Test Trash
-
-<Location /adm/test>
+<Location /adm/bookmarks>
+PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
-PerlAccessHandler Apache::lonacc
-PerlHandler Apache::lontest
+PerlHandler Apache::admbookmarks
+ErrorDocument     403 /adm/login
 </Location>
 
+<Location /adm/flip>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpageflip
+ErrorDocument     406 /adm/roles
+ErrorDocument     403 /adm/login
+</Location>
 
+<Location /adm/ambiguous>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonambiguous
+ErrorDocument     403 /adm/login
+</Location>
 
+<Location /adm/email>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonmsg
+ErrorDocument     403 /adm/login
+</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>
 
+<Location /adm/assesscalc>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonspreadsheet
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+</Location>
 
+<Location /adm/studentcalc>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonspreadsheet
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+</Location>
 
+<Location /adm/classcalc>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonspreadsheet
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+</Location>
 
+<Location /adm/dropadd>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::londropadd
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+</Location>