--- loncom/Attic/access.conf 2000/11/28 22:13:36 1.20 +++ loncom/Attic/access.conf 2002/02/19 20:23:59 1.28 @@ -9,7 +9,12 @@ ## ## Gerd Kortemeyer ## -## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23,11/28 +## 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,3/1/1 +## +## Scott Harrison +## +## 03/20/2001 ## ## access.conf -- Apache HTTP server configuration file ## @@ -77,14 +82,14 @@ Options ExecCGI <Location /server-status> SetHandler server-status -AuthName "HTTPD Server Status" +AuthName "LON-CAPA Network Administration" AuthType Basic AuthUserFile /home/httpd/lonTabs/htpasswd require user lonadm </Location> <Location /lon-status> -AuthName "LON Server Status" +AuthName "LON-CAPA Network Administration" AuthType Basic AuthUserFile /home/httpd/lonTabs/htpasswd require user lonadm @@ -142,6 +147,14 @@ PerlSetVar lonLoadLim {[[[[lonLo PerlSetVar lonExpire {[[[[lonExpire]]]]} +# Key to issue receipts + +PerlSetVar lonReceipt {[[[[lonReceipt]]]]} + +# Key to handle SQL access + +PerlSetVar lonSqlAccess {[[[[lonSqlAccess]]]]} + # ----------------------------------------------------------- Internal Settings PerlSetVar lonIDsDir /home/httpd/lonIDs @@ -154,175 +167,9 @@ PerlSetVar lonDaemons /home/http PerlSetVar lonSockDir /home/httpd/sockets PerlSetVar lonDocRoot /home/httpd/html PerlSetVar lonIncludes /home/httpd/html/res/adm/includes -PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:5.1&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:5&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 +PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 # ------------------------------------------------------------ Perl Information PerlRequire conf/startup.pl PerlFreshRestart On - -# ================================================================= Directories - -# ------------------------------------------------------------- Access Handlers - -<LocationMatch "^/res.*"> -PerlAccessHandler Apache::lonacc -PerlHeaderParserHandler Apache::lonrep -ErrorDocument 403 /adm/login -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> - -<LocationMatch "^/\~.*"> -PerlAccessHandler Apache::loncacc -ErrorDocument 403 /adm/login -ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized.html -</LocationMatch> - -# ------------------------------------------------------------------------- RAT - -<LocationMatch "^/\~.*\.sequence$"> -SetHandler perl-script -PerlHandler Apache::lonratedt -</LocationMatch> - -<LocationMatch "^/\~.*\.page$"> -SetHandler perl-script -PerlHandler Apache::lonratedt -</LocationMatch> - -<LocationMatch "^/\~.*\/ratserver$"> -SetHandler perl-script -PerlHandler Apache::lonratsrv -</LocationMatch> - -# --------------------------------------------- Resource Space Content Handlers - -<LocationMatch "^/res/.*/$"> -SetHandler perl-script -PerlHandler Apache::lonindexer -</LocationMatch> - -<LocationMatch "^/res/.*\.tex$"> -SetHandler perl-script -PerlHandler Apache::lontex -</LocationMatch> - -<LocationMatch "^/res/.*\.page$> -SetHandler perl-script -PerlHandler Apache::lonpage -</LocationMatch> - -<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|exam|quiz|assess|survey|form)$"> -SetHandler perl-script -PerlHandler Apache::lonhomework -</LocationMatch> - -# -------------------------------------------------------------- Admin Programs - -<Location /adm/roles> -PerlAccessHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::lonroles -ErrorDocument 403 /adm/login -</Location> - -<Location /adm/login> -SetHandler perl-script -PerlHandler Apache::lonlogin -</Location> - -<Location /adm/logout> -PerlAccessHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::lonlogout -ErrorDocument 403 /adm/login -</Location> - -<Location /adm/authenticate> -SetHandler perl-script -PerlHandler Apache::lonauth -</Location> - -<Location /adm/annotations> -PerlAccessHandler Apache::lonacc -SetHandler perl-script -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 -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> -