Diff for /loncom/loncapa_apache.conf between versions 1.56 and 1.171

version 1.56, 2003/07/17 13:50:44 version 1.171, 2008/02/24 23:41:00
Line 23  LoadModule perl_module       modules/lib Line 23  LoadModule perl_module       modules/lib
 AddModule mod_perl.c  AddModule mod_perl.c
 </IfDefine>  </IfDefine>
   
   <IfDefine MODPERL2>
   PerlSetVar MODPERL2 1
   </IfDefine>
 # =============================================================== Miscellaneous  # =============================================================== Miscellaneous
   
 ServerAdmin korte@lite.msu.edu  ServerAdmin korte@lite.msu.edu
Line 32  ExtendedStatus On Line 35  ExtendedStatus On
 #  #
 # ===================================================================== Aliases  # ===================================================================== Aliases
   
   Alias /zipspool/ /home/httpd/zipspool/
 Alias /prtspool/ /home/httpd/prtspool/  Alias /prtspool/ /home/httpd/prtspool/
 ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"  ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   
Line 40  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b Line 44  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
 # ------------------------------------------------------------- Access Handlers  # ------------------------------------------------------------- Access Handlers
   
 PerlTransHandler Apache::lontrans  PerlTransHandler Apache::lontrans
   PerlCleanupHandler Apache::lonacc::cleanup
   
   PerlAuthenHandler Apache::checkauthen
   PerlSetVar lonOtherAuthen no
   
 #PerlWarn On  #PerlWarn On
 <LocationMatch "^/+res.*">  <LocationMatch "^/+res.*">
 PerlAccessHandler       Apache::lonacc  
   AuthType LONCAPA
   Require valid-user
   
   PerlAccessHandler      Apache::publiccheck
   PerlAuthzHandler       Apache::lonacc
 PerlHeaderParserHandler Apache::lonrep  PerlHeaderParserHandler Apache::lonrep
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 51  ErrorDocument     406 /adm/roles Line 64  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   
   <LocationMatch "/.*">
   </LocationMatch>
   
   
   <LocationMatch "^/+enc.*">
   SetHandler perl-script
   PerlHandler       Apache::lonencurl
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <Location /adm/portfolio>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::portfolio
   </Location>
   
   <Location /adm/coursegrp_portfolio>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::portfolio
   </Location>
   
 <LocationMatch "^/+userfiles.*">  <LocationMatch "^/+userfiles.*">
 PerlAccessHandler       Apache::lontokacc  PerlAccessHandler       Apache::lontokacc
   PerlCleanupHandler Apache::lontokacc::removefile
   PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded.*">  <LocationMatch "^/+uploaded.*">
 PerlAccessHandler Apache::lonuploadedacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   PerlHeaderParserHandler Apache::lonuploadrep
   ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/+editupload.*">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+uploaded/.*/.*/internal/.*">
   PerlAuthenHandler Apache::lonuploadedacc
   PerlAuthzHandler Apache::lonuploadedacc::skip_phase
   PerlAccessHandler Apache::lonuploadedacc::skip_phase
   </LocationMatch>
   
   <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   </LocationMatch>
   
   <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   </LocationMatch>
   
   <LocationMatch "^/+uploaded/.*\.page$">
   SetHandler perl-script
   PerlHandler Apache::lonpage
   </LocationMatch>
   
   <LocationMatch "^/+uploaded/.*\.sequence$">
   SetHandler perl-script
   PerlHandler Apache::lonsequence
   </LocationMatch>
   
 <LocationMatch "^/+public/.*/syllabus$">  <LocationMatch "^/+public/.*/syllabus$">
 PerlAccessHandler Apache::lonacc  PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonsyllabus  PerlHandler             Apache::lonsyllabus
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonrss
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
 <LocationMatch "^/adm/.*/aboutme$">  <LocationMatch "^/adm/.*/aboutme$">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonaboutme
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/.*/aboutme/portfolio$">
   PerlAccessHandler       Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonaboutme  PerlHandler             Apache::lonaboutme
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 79  ErrorDocument   500 /adm/errorhandler Line 196  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/smppg$">  <LocationMatch "^/adm/.*/smppg$">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonsimplepage  PerlHandler             Apache::lonsimplepage
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 88  ErrorDocument   500 /adm/errorhandler Line 207  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/bulletinboard$">  <LocationMatch "^/adm/.*/bulletinboard$">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
   PerlHandler             Apache::londatecheck
 PerlHandler             Apache::lonbulletin  PerlHandler             Apache::lonbulletin
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/notinit.html  ErrorDocument     406 /adm/notinit.html
Line 97  ErrorDocument   500 /adm/errorhandler Line 219  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "\.problem/smpedit$">  <LocationMatch "\.problem/smpedit$">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonsimpleproblemedit  PerlHandler             Apache::lonsimpleproblemedit
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 106  ErrorDocument   500 /adm/errorhandler Line 230  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+priv.*">  <LocationMatch "^/+priv.*">
 PerlAccessHandler Apache::loncacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::loncacc
 SetHandler        perl-script  SetHandler        perl-script
 PerlHandler       Apache::lonconstruct  PerlHandler       Apache::lonconstruct
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 120  PerlAccessHandler Apache::lonracc Line 246  PerlAccessHandler Apache::lonracc
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+\~.*">  <LocationMatch "^/+\~.*">
 PerlAccessHandler Apache::loncacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::loncacc
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 AllowOverride None  
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/helper/.*\.helper$">  <LocationMatch "^/adm/helper/.*\.helper$">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler  Apache::lonacc
 SetHandler        perl-script  SetHandler        perl-script
 PerlHandler       Apache::lonhelper  PerlHandler       Apache::lonhelper
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 139  ErrorDocument     500 /adm/errorhandler Line 268  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "/prtspool">  <LocationMatch "/prtspool">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
   ErrorDocument     413 /adm/overloaded.txt
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "/zipspool">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
 # ------------------------------------------------------------------------- RAT  # ------------------------------------------------------------------------- RAT
Line 162  SetHandler perl-script Line 305  SetHandler perl-script
 PerlHandler Apache::lonratsrv  PerlHandler Apache::lonratsrv
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/\~.*\/adveditmenu$">
   SetHandler perl-script
   PerlHandler Apache::lonratmenu
   </LocationMatch>
   
 <Location /adm/ratparms>  <Location /adm/ratparms>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratparms  PerlHandler Apache::lonratparms
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 172  ErrorDocument   500 /adm/errorhandler Line 322  ErrorDocument   500 /adm/errorhandler
   
 # --------------------------------------------- Resource Space Content Handlers  # --------------------------------------------- Resource Space Content Handlers
   
 <LocationMatch "^/res.*/$">  <LocationMatch "^/+res.*/$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonindexer  PerlHandler Apache::lonindexer
 PerlCleanupHandler Apache::lonindexer::cleanup  PerlCleanupHandler Apache::lonindexer::cleanup
   PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.tex$">  <LocationMatch "^/+(res|\~).*\.tex$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lontex  PerlHandler Apache::lontex
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.page$>  <LocationMatch "^/+res/.*\.page$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpage  PerlHandler Apache::lonpage
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.sequence$>  <LocationMatch "^/+res/.*\.sequence$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~|public|uploaded|adm).*\.meta$>  <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
   PerlAccessHandler      Apache::publiccheck
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
   ErrorDocument     413 /adm/overloaded.txt
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.rights$>  <LocationMatch "^/adm/bombs/">
   AuthType LONCAPA
   Require valid-user
   SetHandler perl-script
   PerlAuthzHandler Apache::lonacc
   PerlHandler Apache::lonmeta
   </LocationMatch>
   
   
   
   <LocationMatch "^/+(res|\~).*\.rights$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonrights  PerlHandler Apache::lonrights
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">  <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
 SetHandler perl-script  SetHandler perl-script
   PerlHandler Apache::londatecheck
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">  <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\.sty$">  <LocationMatch "^/adm/wrapper/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonxml  PerlHandler Apache::lonwrapper
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/wrapper/">  <LocationMatch "^/adm/source">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonwrapper  PerlHandler Apache::lonsource
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   
   <LocationMatch "^/adm/localize/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonlocalize
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
Line 229  ErrorDocument   500 /adm/errorhandler Line 412  ErrorDocument   500 /adm/errorhandler
 # -------------------------------------------------------------- Admin Programs  # -------------------------------------------------------------- Admin Programs
   
 <Location /adm/randomlabel.png>  <Location /adm/randomlabel.png>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::randomlylabel  PerlHandler Apache::randomlylabel
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/imagechoice>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::imagechoice
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/statistics>  <Location /adm/statistics>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonstatistics  PerlHandler Apache::lonstatistics
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 245  ErrorDocument     413 /adm/overloaded.tx Line 442  ErrorDocument     413 /adm/overloaded.tx
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/trackstudent>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lontrackstudent
   ErrorDocument     403 /adm/login
   ErrorDocument     413 /adm/overloaded.txt
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/roles>  <Location /adm/roles>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonroles  PerlHandler Apache::lonroles
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 254  ErrorDocument   500 /adm/errorhandler Line 464  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/menu>  <Location /adm/menu>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmenu  PerlHandler Apache::lonmainmenu
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/remote>  <Location /adm/remote>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonremote  PerlHandler Apache::lonremote
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 270  ErrorDocument   500 /adm/errorhandler Line 484  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/pickstudent>  <Location /adm/pickstudent>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpickstudent  PerlHandler Apache::lonpickstudent
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 278  ErrorDocument   500 /adm/errorhandler Line 494  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/pickcourse>  <Location /adm/pickcourse>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpickcourse  PerlHandler Apache::lonpickcourse
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/pickcode>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickcode
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/login>  <Location /adm/login>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonlogin  PerlHandler Apache::lonlogin
 </Location>  </Location>
   
   <Location /adm/restrictedaccess>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   SetHandler perl-script
   PerlAuthzHandler       Apache::lonacc
   PerlHandler Apache::restrictedaccess
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/blockedaccess>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   SetHandler perl-script
   PerlAuthzHandler       Apache::lonacc
   PerlHandler Apache::blockedaccess
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/logout>  <Location /adm/logout>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonlogout  PerlHandler Apache::lonlogout
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/switchserver>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::switchserver
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/authenticate>  <Location /adm/authenticate>
Line 302  SetHandler perl-script Line 563  SetHandler perl-script
 PerlHandler Apache::lonauth  PerlHandler Apache::lonauth
 </Location>  </Location>
   
   <Location /adm/migrateuser>
   SetHandler perl-script
   PerlHandler Apache::migrateuser
   </Location>
   
 <Location /adm/annotations>  <Location /adm/annotations>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::admannotations  PerlHandler Apache::admannotations
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/spellcheck>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonspeller
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/bookmarks>  <Location /adm/bookmarks>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::admbookmarks  PerlHandler Apache::admbookmarks
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 319  ErrorDocument   500 /adm/errorhandler Line 599  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/flip>  <Location /adm/flip>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpageflip  PerlHandler Apache::lonpageflip
 PerlCleanupHandler Apache::lonpageflip::cleanup  PerlCleanupHandler Apache::lonpageflip::cleanup
   PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/ambiguous>  <Location /adm/ambiguous>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonambiguous  PerlHandler Apache::lonambiguous
 PerlCleanupHandler Apache::lonambiguous::cleanup  PerlCleanupHandler Apache::lonambiguous::cleanup
   PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/email>  <Location /adm/email>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmsg  PerlHandler Apache::lonmsgdisplay
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/notify>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonnotify
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/parmset>  <Location /adm/parmset>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonparmset  PerlHandler Apache::lonparmset
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 354  ErrorDocument     406 /adm/roles Line 654  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/slotrequest>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::slotrequest
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/wizard>  <Location /adm/wizard>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonwizard  PerlHandler Apache::lonwizard
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 364  ErrorDocument   500 /adm/errorhandler Line 677  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/grades>  <Location /adm/grades>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::grades  PerlHandler Apache::grades
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 373  ErrorDocument   500 /adm/errorhandler Line 688  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/createcourse>  <Location /adm/createcourse>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncreatecourse  PerlHandler Apache::loncreatecourse
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 381  ErrorDocument     406 /adm/roles Line 698  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/modifycourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonmodifycourse
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/domainprefs>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::domainprefs
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/createuser>  <Location /adm/createuser>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncreateuser  PerlHandler Apache::loncreateuser
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 391  ErrorDocument   500 /adm/errorhandler Line 732  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/publish>  <Location /adm/publish>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpublisher  PerlHandler Apache::lonpublisher
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 400  ErrorDocument     406 /adm/unauthorized Line 743  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <LocationMatch "^/\~.*/$">  <LocationMatch "^/+\~.*/$">
 PerlAccessHandler       Apache::loncacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::loncacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpubdir  PerlHandler Apache::lonpubdir
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 411  ErrorDocument   500 /adm/errorhandler Line 756  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <Location /adm/pubdir>  <Location /adm/pubdir>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpubdir  PerlHandler Apache::lonpubdir
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 421  ErrorDocument   500 /adm/errorhandler Line 768  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/unauthorized>  <Location /adm/unauthorized>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonunauthorized  PerlHandler Apache::lonunauthorized
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 430  ErrorDocument   500 /adm/errorhandler Line 779  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/retrieve>  <Location /adm/retrieve>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonretrieve  PerlHandler Apache::lonretrieve
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 439  ErrorDocument     406 /adm/unauthorized Line 790  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/cleanup>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::loncleanup
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/cfile>  <Location /adm/cfile>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncfile  PerlHandler Apache::loncfile
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 450  ErrorDocument   500 /adm/errorhandler Line 815  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/diff>  <Location /adm/diff>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::londiff  PerlHandler Apache::londiff
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 460  ErrorDocument   500 /adm/errorhandler Line 827  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/upload>  <Location /adm/upload>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
   PerlHandler Apache::londatecheck
 PerlHandler Apache::lonupload  PerlHandler Apache::lonupload
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 469  ErrorDocument     406 /adm/unauthorized Line 839  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/imsimport>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::imsimport
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/testbank>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::testbankimport
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/assesscalc>  <Location /adm/assesscalc>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonspreadsheet  PerlHandler Apache::lonspreadsheet
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 480  ErrorDocument   500 /adm/errorhandler Line 876  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/studentcalc>  <Location /adm/studentcalc>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonspreadsheet  PerlHandler Apache::lonspreadsheet
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 490  ErrorDocument   500 /adm/errorhandler Line 888  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/classcalc>  <Location /adm/classcalc>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonspreadsheet  PerlHandler Apache::lonspreadsheet
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 500  ErrorDocument   500 /adm/errorhandler Line 900  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/dropadd>  <Location /adm/dropadd>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::londropadd  PerlHandler Apache::londropadd
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 508  ErrorDocument     406 /adm/roles Line 910  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/viewclasslist>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonviewclasslist
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/coursegroups>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::loncoursegroups
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/groupboards>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::groupboards
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/grouproster>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::grouproster
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/whatsnew>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonwhatsnew
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/populate>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpopulate
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/managekeys>  <Location /adm/managekeys>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmanagekeys  PerlHandler Apache::lonmanagekeys
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 518  ErrorDocument   500 /adm/errorhandler Line 988  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/printout>  <Location /adm/printout>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonprintout  PerlHandler Apache::lonprintout
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 527  ErrorDocument   500 /adm/errorhandler Line 999  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/feedback>  <Location /adm/feedback>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonfeedback  PerlHandler Apache::lonfeedback
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 535  ErrorDocument   500 /adm/errorhandler Line 1009  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/coursedocs>  <Location /adm/coursedocs>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlCleanupHandler Apache::londocs::untiehash  
 PerlHandler Apache::londocs  PerlHandler Apache::londocs
   PerlCleanupHandler Apache::londocs::untiehash
   PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/announcements>  <Location /adm/imsimportdocs>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::imsimportdocs
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <LocationMatch "^/adm/announcements">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonannounce  PerlHandler Apache::lonannounce
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </LocationMatch>
   
 <Location /adm/chat>  <Location /adm/chat>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonchat  PerlHandler Apache::lonchat
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/chatfetch>  <Location /adm/chatfetch>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonchatfetch  PerlHandler Apache::lonchatfetch
 ErrorDocument     413 /adm/overloaded.txt  ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/evaluate>  <Location /adm/groupchat>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonevaluate  PerlHandler Apache::longroupchat
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/preferences>  <Location /adm/evaluate>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpreferences  PerlHandler Apache::lonevaluate
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/assignments>  <Location /adm/preferences>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonassignments  PerlHandler Apache::lonpreferences
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/communicate>  <Location /adm/communicate>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncommunicate  PerlHandler Apache::loncommunicate
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 600  ErrorDocument   500 /adm/errorhandler Line 1100  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/searchcat>  <Location /adm/searchcat>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsearchcat  PerlHandler Apache::lonsearchcat
 PerlCleanupHandler Apache::lonsearchcat::cleanup  PerlCleanupHandler Apache::lonsearchcat::cleanup
   PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     413 /adm/overloaded.txt  ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/navmaps>  <Location /adm/navmaps>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonnavmaps  PerlHandler Apache::lonnavdisplay
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/quickgrades>  <Location /adm/quickgrades>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonquickgrades  PerlHandler Apache::lonquickgrades
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 628  ErrorDocument     500 /adm/errorhandler Line 1135  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/groupsort>  <Location /adm/groupsort>
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::groupsort  PerlHandler Apache::groupsort
 PerlCleanupHandler Apache::groupsort::cleanup  PerlCleanupHandler Apache::groupsort::cleanup
   PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
Line 642  PerlHandler Apache::lonerrorhandler Line 1152  PerlHandler Apache::lonerrorhandler
 </Location>  </Location>
   
 <LocationMatch "^/adm/help/.*\.hlp$">  <LocationMatch "^/adm/help/.*\.hlp$">
   AuthType LONCAPA
   Require valid-user
   PerlAccessHandler      Apache::publiccheck
   PerlAuthzHandler Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhelp  PerlHandler Apache::lonhelp
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/helpmenu">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonhelpmenu
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/support">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonsupportreq
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/helpdesk">
   SetHandler perl-script
   PerlHandler Apache::lonsupportreq
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/css">
   SetHandler perl-script
   PerlHandler Apache::loncss
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/coursecatalog">
   SetHandler perl-script
   PerlHandler Apache::coursecatalog
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/resetpw">
   SetHandler perl-script
   PerlHandler Apache::resetpw
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/createaccount">
   SetHandler perl-script
   PerlHandler Apache::createaccount
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/dns">
   SetHandler perl-script
   PerlHandler Apache::londns
   ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  # ------------------------------------------------- Backdoor Adm Tests/Programs
Line 690  AuthUserFile /home/httpd/lonTabs/htpassw Line 1259  AuthUserFile /home/httpd/lonTabs/htpassw
 require user  reaper  require user  reaper
 </Location>  </Location>
   
   <Location /cgi-bin/takeoffline.pl>
   AuthName "Offline"
   AuthType Basic
   AuthUserFile /home/httpd/lonTabs/htpasswd
   require user  offline
   </Location>
   
   <Location /cgi-bin/takeonline.pl>
   AuthName "Offline"
   AuthType Basic
   AuthUserFile /home/httpd/lonTabs/htpasswd
   require user  offline
   </Location>
   
 <Location /adm/test>  <Location /adm/test>
 AuthName "LON-CAPA Network Administration"  AuthName "LON-CAPA Network Administration"
 AuthType Basic  AuthType Basic
 AuthUserFile /home/httpd/lonTabs/htpasswd  AuthUserFile /home/httpd/lonTabs/htpasswd
 require user lonadm  require user lonadm
 SetHandler perl-script  SetHandler perl-script
 PerlAccessHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
 PerlHandler Apache::lontest  PerlHandler Apache::lontest
 </Location>  </Location>
   
 # ------------------------------------------------------- Shutting down a child  # ------------------------------------------------------- Shutting down a child
   
 PerlChildExitHandler Apache::lonnet::goodbye  PerlChildExitHandler Apache::lonacc::goodbye
   
 #  #
 # LON-CAPA Section (extensions to access.conf permission configuration)  # LON-CAPA Section (extensions to access.conf permission configuration)
Line 714  PerlChildExitHandler Apache::lonnet::goo Line 1297  PerlChildExitHandler Apache::lonnet::goo
 <Directory />  <Directory />
 Options None  Options None
 AllowOverride None  AllowOverride None
   order deny,allow
   deny from all
   </Directory>
   
   # Allow uploaded files to be served
   
   <Directory "/home/httpd/lonUsers">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
   </Directory>
    
   # Allow construction space files to be served
   
   <Directory "/home/*/public_html/" >
   Options Includes FollowSymLinks
   AllowOverride
   order allow,deny
   allow from all
 </Directory>  </Directory>
   
 # Yes to symbolic links and server-side includes  # Yes to symbolic links and server-side includes
Line 729  allow from all Line 1332  allow from all
   
 <Directory /home/httpd/cgi-bin>  <Directory /home/httpd/cgi-bin>
 AllowOverride None  AllowOverride None
 Options ExecCGI  Options ExecCGI FollowSymLinks
   order allow,deny
   allow from all
   </Directory>
   
   # Allow serving of files in prtspool
   
   <Directory "/home/httpd/prtspool/">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
   </Directory>
   
   # Allow serving of files in zipspool
   
   <Directory "/home/httpd/zipspool/">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
 </Directory>  </Directory>
   
 # ============================================================= Access Handlers  # ============================================================= Access Handlers
Line 763  Options Indexes FollowSymLinks Line 1386  Options Indexes FollowSymLinks
 # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************  # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
 # ====================================== Internal Settings / Perl Configuration  # ====================================== Internal Settings / Perl Configuration
   
   PerlSetVar lonVersion   '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 PerlSetVar       lonTabDir    /home/httpd/lonTabs  PerlSetVar       lonTabDir    /home/httpd/lonTabs
 PerlSetVar       lonUsersDir  /home/httpd/lonUsers  PerlSetVar       lonUsersDir  /home/httpd/lonUsers
Line 771  PerlSetVar       londPort     5663 Line 1395  PerlSetVar       londPort     5663
 PerlSetVar       lonSysEMail  korte@lite.msu.edu  PerlSetVar       lonSysEMail  korte@lite.msu.edu
 PerlSetVar       lonDaemons   /home/httpd/perl  PerlSetVar       lonDaemons   /home/httpd/perl
 PerlSetVar       lonSockDir   /home/httpd/sockets  PerlSetVar       lonSockDir   /home/httpd/sockets
   PerlSetVar       lonSockCreate   /home/httpd/sockets/common
 PerlSetVar       lonDocRoot   /home/httpd/html  PerlSetVar       lonDocRoot   /home/httpd/html
   PerlSetVar       lonPrtDir    /home/httpd/prtspool
 PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes  PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1  PerlSetVar       lonZipDir    /home/httpd/zipspool
 PerlSetVar       lonTextBrowsers opera:windows\s+ce:lynx  PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
   # & separated list of : separated fields in order of
   # - internal name to call it, 
   # - regexp that it should match (done case-insensitively)
   # - regexp that is should not match (done case-insensitively)
   # - regexp that will pull out the version number into $1
   # - a number that describes the minimum version that has mathml support
   # - a number that describes the minimum number version that has unicode support
   
   PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
   
   PerlSetVar       lonTextBrowsers windows\s+ce:lynx
 PerlSetVar       lonScansDir  /home/httpd/scantron  PerlSetVar       lonScansDir  /home/httpd/scantron
 PerlSetVar       lonScriptTimeout 10  PerlSetVar       lonScriptTimeout 10
   PerlSetVar BugzillaHost http://bugs.lon-capa.org/
   PerlSetVar FAQHost http://help.lon-capa.org/
 # -----------------------------------------------------------------------------  # -----------------------------------------------------------------------------
 # NOTE: lonSqlAccess key is the password for the MySQL user  # NOTE: lonSqlAccess key is the password for the MySQL user
 # www@localhost.  This value must always be "localhostkey".  # www@localhost.  This value must always be "localhostkey".
Line 792  PerlSetVar       lonSqlAccess   localhos Line 1431  PerlSetVar       lonSqlAccess   localhos
 PerlSetVar       lonhttpdPort  8080  PerlSetVar       lonhttpdPort  8080
   
   
   #----------------------------------------------------------------------------
   #
   #   Parameters used by secure lond/lonc
   
   #
   #   Secure lond/lonc require ssl certificate and private
   #   key files to function correctly.  The certificate
   #   files need not be terribly secure, but the private key files
   #   should be set up so that only www (the lonc/lond effective user)
   #   can read them.
   # 
   #   The definition below is the full path to the directory that
   #   contains the certificate and key files:
   
   PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
   
   #
   #  Secure lond/lonc require two certificates and a private host key.
   #  The certificates required are that of the lonCAPA certificate authority
   #  and the certificate that authority issued to this host.
   #  lonnetCertificateAuthority is the name of the file that contains the
   #                            lonCAPA certificate authority's certificate.
   #  lonnetCertificate is the name of the file that contains the certificate
   #                    issued to the host by the certificate authority.
   #  Both of these variables are names of files assumed to be in 
   #  lonCertificateDirectory:
   
   PerlSetVar lonnetCertificateAuthority loncapaCA.pem
   PerlSetVar lonnetCertificate          lonhostcert.pem
   
   #
   #  To generate the request for a certificate, and to negotiate the
   #  initial ssl connection, the host requires a private key.  This key
   #  is created at lonCAPA install time.  Did we mention above that it
   #  should be set so that only www can read it?  The variale below
   #  is the name of the file relative to lonnetCertificateDirectory
   #  that has the host's private key.  Did we remember to tell you to
   #  keep the permissions on that file set to rw-------  (0600)?
   #  
   
   PerlSetVar lonnetPrivateKey         lonKey.pem
   
   # Did we mention that the file described above must have
   # permissions really locked down so that it can't be stolen?
   
   #-------------------------------------------------------------------------
   
   #   Parameters that define where all the ssl stuff is that's needed
   #   to generate certificate requests and, on a system that's a CA
   #   the certificate authority.
   #    
   #    SSLProgram    -> Path to the openssl command
   #    SSLDirectory  -> Directory containing ssl configuration files etc.
   #    SSLCAConfig   -> Name of the SSL config file for the certificate 
   #                     Authority.
   #    SSLCAFile     -> Full path to the Certificate authority file 
   #                    (on the cert manager system).
   #    SSLEmail      -> E-mail address of loncapa certificate manager.
   #    The following are good for the loncapa redhat installs and
   #    the loncapa certificate authority system:
   #
   PerlSetVar SSLProgram /usr/bin/openssl
   PerlSetVar SSLDirectory /usr/share/ssl
   PerlSetVar SSLCAConfig  loncapaca
   PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
   PerlSetVar SSLEmail     certificate@lon-capa.org
   
   #-------------------------------------------------------------------------
   
   
   
   
 # ====================================== Include machine-specific configuration  # ====================================== Include machine-specific configuration
   
 Include conf/loncapa.conf  Include conf/loncapa.conf
   
   # ================================================= Include local configuration
   
   Include conf/loncapa_apache_local*.conf
   
 # ================================================== Initiate mod_perl starting  # ================================================== Initiate mod_perl starting
   
 PerlRequire      conf/startup.pl  PerlRequire      conf/startup.pl

Removed from v.1.56  
changed lines
  Added in v.1.171


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.