Diff for /loncom/loncapa_apache.conf between versions 1.122 and 1.276

version 1.122, 2005/11/20 02:12:32 version 1.276, 2021/10/02 13:54:29
Line 1 Line 1
 ##  ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file  ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##  ##
 ## $Id$  
 ##  # $Id$
   
 #  #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)  # LON-CAPA Section (extensions to httpd.conf daemon configuration)
Line 18  Group www Line 18  Group www
   
 # ======================================================= Shared Object Modules  # ======================================================= Shared Object Modules
   
 LoadModule perl_module       modules/libperl.so  <IfModule !perl_module>
       LoadModule perl_module       modules/libperl.so
   </IfModule>
 <IfDefine !MODPERL2>  <IfDefine !MODPERL2>
 AddModule mod_perl.c  AddModule mod_perl.c
 </IfDefine>  </IfDefine>
Line 28  PerlSetVar MODPERL2 1 Line 30  PerlSetVar MODPERL2 1
 </IfDefine>  </IfDefine>
 # =============================================================== Miscellaneous  # =============================================================== Miscellaneous
   
 ServerAdmin korte@lite.msu.edu  ServerAdmin consortium@loncapa.org
 ExtendedStatus On  ExtendedStatus On
 #  #
 # LON-CAPA Section (extensions to srm.conf name space servicing)  # LON-CAPA Section (extensions to srm.conf name space servicing)
 #  #
 # ===================================================================== Aliases  # ===================================================================== Aliases
   
   Alias /zipspool/ /home/httpd/zipspool/
 Alias /prtspool/ /home/httpd/prtspool/  Alias /prtspool/ /home/httpd/prtspool/
   Alias /captchaspool/ /home/httpd/captchaspool/
   Alias /webdav/ /home/httpd/html/priv/
 ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"  ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   <IfModule mod_dav_fs.c>
       DAVLockDB /home/httpd/webdav/DAVLock
   </IfModule>
   
 # ================================================================= Directories  # ================================================================= Directories
   
 # ------------------------------------------------------------- Access Handlers  # ------------------------------------------------------------- Access Handlers
   
 PerlTransHandler Apache::lontrans  PerlTransHandler Apache::lontrans
 PerlCleanupHandler Apache::lonnet::save_cache  PerlCleanupHandler Apache::lonacc::cleanup
   
   PerlAuthenHandler Apache::checkauthen
   PerlSetVar lonOtherAuthen no
   
   <IfModule mod_shib>
       PerlAuthenHandler Apache::lonshibauth
       PerlSetVar lonOtherAuthen yes
       PerlSetVar lonOtherAuthenType Shibboleth
   </IfModule>
   
 #PerlWarn On  #PerlWarn On
   <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
   PerlAuthzHandler 'sub { return OK }' 
   </LocationMatch>
   
   # Send proper expires header to avoid unnecessary HTTP request for static content
   <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)">
           ExpiresActive On
           ExpiresDefault "access plus 12 hours"
           Header set Cache-Control "public, no-transform"
   </LocationMatch>
   
 <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 55  ErrorDocument     406 /adm/roles Line 88  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   
   <LocationMatch "/.*">
   </LocationMatch>
   
   
 <LocationMatch "^/+enc.*">  <LocationMatch "^/+enc.*">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler       Apache::lonenc  PerlHandler       Apache::lonencurl
 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
Line 65  ErrorDocument   500 /adm/errorhandler Line 103  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <Location /adm/portfolio>  <Location /adm/portfolio>
 PerlAccessHandler Apache::lonacc  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  SetHandler perl-script
 PerlHandler Apache::portfolio  PerlHandler Apache::portfolio
 </Location>  </Location>
   
   <Location /adm/pdfupload>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler             Apache::lonpdfupload
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <LocationMatch "^/+userfiles.*">  <LocationMatch "^/+userfiles.*">
   Options +FollowSymLinks -Includes
 PerlAccessHandler       Apache::lontokacc  PerlAccessHandler       Apache::lontokacc
 PerlCleanupHandler Apache::lontokacc::removefile  PerlCleanupHandler Apache::lontokacc::removefile
 PerlCleanupHandler Apache::lonnet::save_cache  PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded.*">  <LocationMatch "^/+uploaded.*">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   PerlHandler Apache::londatecheck
   PerlHandler   Apache::lonipcheck
 PerlHeaderParserHandler Apache::lonuploadrep  PerlHeaderParserHandler Apache::lonuploadrep
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 85  ErrorDocument     406 /adm/roles Line 150  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+uploaded/.+/.+/(portfolio|feedback|docs|groups|supplemental)/.+">
      Options +FollowSymLinks -Includes
   </LocationMatch>
   
 <LocationMatch "^/+editupload.*">  <LocationMatch "^/+editupload.*">
 PerlAccessHandler Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded/.*/.*/internal/.*">  <LocationMatch "^/+uploaded/.*/.*/internal/.*">
 PerlAccessHandler Apache::lonuploadedacc  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>
   
   
 <LocationMatch "^/+uploaded/.*\.page$">  <LocationMatch "^/+uploaded/.*\.page$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpage  PerlHandler Apache::lonpage
Line 108  PerlHandler Apache::lonsequence Line 194  PerlHandler Apache::lonsequence
 </LocationMatch>  </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
Line 116  ErrorDocument   500 /adm/errorhandler Line 205  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">  <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
 PerlAccessHandler Apache::lonacc  PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonrss  PerlHandler             Apache::lonrss
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 124  ErrorDocument   500 /adm/errorhandler Line 216  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/aboutme$">  <LocationMatch "^/adm/.*/aboutme$">
 PerlAccessHandler Apache::lonacc  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 132  ErrorDocument     406 /adm/notinit.html Line 226  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/smppg$">  <LocationMatch "^/adm/.*/aboutme/portfolio$">
 PerlAccessHandler Apache::lonacc  PerlAccessHandler       Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonsimplepage  PerlHandler             Apache::lonaboutme
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/notinit.html  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/grppg$">  <LocationMatch "^/adm/.*/smppg$">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
   PerlHandler             Apache::londatecheck
   PerlHandler Apache::lonipcheck
 PerlHandler             Apache::lonsimplepage  PerlHandler             Apache::lonsimplepage
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/notinit.html  ErrorDocument     406 /adm/notinit.html
 ErrorDocument     500 /adm/errorhandler  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::londatecheck
   PerlHandler Apache::lonipcheck
 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 161  ErrorDocument   500 /adm/errorhandler Line 265  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 169  ErrorDocument     406 /adm/notinit.html Line 275  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+priv.*">  <LocationMatch "^/adm/.*/ext\.tool$">
 PerlAccessHandler Apache::loncacc  AuthType LONCAPA
 SetHandler        perl-script  Require valid-user
 PerlHandler       Apache::lonconstruct  PerlAuthzHandler        Apache::lonacc
 ErrorDocument     403 /adm/login  SetHandler              perl-script
   PerlHandler             Apache::londatecheck
   PerlHandler             Apache::lonipcheck
   PerlHandler             Apache::lonexttool
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+raw.*">  <LocationMatch "^/adm/placement$">
 PerlAccessHandler Apache::lonracc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler        Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonplacementtest
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+\~.*">  <Location /adm/exturlcheck>
 PerlAccessHandler Apache::loncacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler  Apache::lonacc
   SetHandler        perl-script
   PerlHandler       Apache::lonexturlcheck
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <LocationMatch "^/+priv/.*">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::loncacc
   SetHandler        perl-script
 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 "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
     <IfModule mod_dav.c>
       <IfModule mod_ssl.c>
         AuthType Basic
         AuthName "LONCAPA username,domain"
         Require valid-user
         SSLRequireSSL
         PerlAuthenHandler Apache::lonwebdavauth
         PerlAuthzHandler Apache::lonwebdavacc
         Dav On
         DirectoryIndex index.missing
         Options Indexes FollowSymLinks
         ErrorDocument     403 /adm/nowebdav.html
         ErrorDocument     404 /adm/notfound.html
         ErrorDocument     406 /adm/unauthorized
         ErrorDocument     500 /adm/errorhandler
       </IfModule>
       <IfModule !mod_ssl.c>
         <IfModule mod_rewrite.c>
           RewriteEngine on
           RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
         </IfModule>
       </IfModule>
     </IfModule>
     <IfModule !mod_dav.c>
       <IfModule mod_rewrite.c>
         RewriteEngine on
         RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
       </IfModule>
     </IfModule>
   </LocationMatch>
   
   <LocationMatch "^/+raw.*">
   PerlAccessHandler Apache::lonracc
 </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 203  ErrorDocument     500 /adm/errorhandler Line 371  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     404 /adm/notfound.html
   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     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
Line 212  ErrorDocument   500 /adm/errorhandler Line 393  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
 # ------------------------------------------------------------------------- RAT  # ------------------------------------------------------------------------- RAT
   
 <LocationMatch "^/\~.*\.sequence$">  <LocationMatch "^/+priv/.*\.sequence$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratedt  PerlHandler Apache::lonratedt
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\.page$">  <LocationMatch "^/+priv/.*\.page$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratedt  PerlHandler Apache::lonratedt
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\/ratserver$">  <LocationMatch "^/+priv/.*\/ratserver$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratsrv  PerlHandler Apache::lonratsrv
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\/adveditmenu$">  <LocationMatch "^/+priv/.*\/adveditmenu$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratmenu  PerlHandler Apache::lonratmenu
 </LocationMatch>  </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 246  ErrorDocument   500 /adm/errorhandler Line 429  ErrorDocument   500 /adm/errorhandler
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonindexer  PerlHandler Apache::lonindexer
 PerlCleanupHandler Apache::lonindexer::cleanup  PerlCleanupHandler Apache::lonindexer::cleanup
 PerlCleanupHandler Apache::lonnet::save_cache  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>
Line 264  SetHandler perl-script Line 447  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">  <LocationMatch "^/+(res|priv|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  ErrorDocument     413 /adm/overloaded.txt
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/bombs/">  <LocationMatch "^/adm/bombs/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlAccessHandler Apache::lonacc  
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
 </LocationMatch>  </LocationMatch>
   
   
   
 <LocationMatch "^/+(res|\~).*\.rights$">  <LocationMatch "^/+(res|priv)/.*\.rights$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonrights  PerlHandler Apache::lonrights
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">  <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::londatecheck  PerlHandler Apache::londatecheck
   PerlHandler Apache::lonipcheck
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">  <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
   SetHandler perl-script
   PerlHandler Apache::lonxml
   </LocationMatch>
   
   <LocationMatch "^/daxepage/priv/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::loncacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   </LocationMatch>
   
   <LocationMatch "^/daxe(page|open)/uploaded/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
   SetHandler perl-script
   PerlHandler Apache::daxepage
   </LocationMatch>
   
   <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$">
   SetHandler perl-script
   PerlHandler Apache::daxepage
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/(res|priv)/(.+/)?$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$">
   <IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteRule /daxeopen/(.*) /$1
   </IfModule>
   </LocationMatch>
   
   <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
   <IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteRule /daxeopen/(.*) /$1
   </IfModule>
   </LocationMatch>
   
   <LocationMatch "^/daxesave$">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::daxesave
   </LocationMatch>
   
   <Location /adm/coursepub>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::loncoursepub
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <LocationMatch "^/adm/wrapper/">  <LocationMatch "^/adm/wrapper/">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   PerlHandler Apache::londatecheck
   PerlHandler Apache::lonipcheck
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonwrapper  PerlHandler Apache::lonwrapper
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 303  ErrorDocument   500 /adm/errorhandler Line 587  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/source">  <LocationMatch "^/adm/source">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsource  PerlHandler Apache::lonsource
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 313  ErrorDocument   500 /adm/errorhandler Line 599  ErrorDocument   500 /adm/errorhandler
   
   
 <LocationMatch "^/adm/localize/">  <LocationMatch "^/adm/localize/">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonlocal  PerlHandler Apache::lonlocalize
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
Line 323  ErrorDocument   500 /adm/errorhandler Line 611  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
Line 331  ErrorDocument   500 /adm/errorhandler Line 621  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/imagechoice>  <Location /adm/imagechoice>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::imagechoice  PerlHandler Apache::imagechoice
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/searchcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonsearchcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/indexcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonindexcourse
   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 348  ErrorDocument   500 /adm/errorhandler Line 662  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/trackstudent>  <Location /adm/trackstudent>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lontrackstudent  PerlHandler Apache::lontrackstudent
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 357  ErrorDocument   500 /adm/errorhandler Line 673  ErrorDocument   500 /adm/errorhandler
 </Location>  </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
   ErrorDocument     409 /adm/preferences?action=lockwarning
 ErrorDocument  500 /adm/errorhandler  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/pickresource>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonremote  PerlHandler Apache::lonpickresource
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/pickauthor>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickauthor
   ErrorDocument     403 /adm/login
   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
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/pickuser>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickuser
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </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
Line 397  ErrorDocument   500 /adm/errorhandler Line 745  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/pickcode>  <Location /adm/pickcode>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpickcode  PerlHandler Apache::lonpickcode
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/dependencies>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::londependencies
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   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>
   
   <LocationMatch "^/+adm/launch/tiny/[\w.-]+/\w+">
   SetHandler perl-script
   PerlHandler Apache::ltiauth
   </LocationMatch>
   
   <LocationMatch "^/+adm/lti($|/)">
   SetHandler perl-script
   PerlHandler Apache::ltiauth
   </LocationMatch>
   
   <Location /adm/service/passback>
   SetHandler perl-script
   PerlHandler Apache::ltipassback
   </Location>
   
   <Location /adm/service/roster>
   SetHandler perl-script
   PerlHandler Apache::ltiroster
   </Location>
   
   <LocationMatch "^/adm/service/logout/\w+$">
   SetHandler perl-script
   PerlHandler Apache::ltilogout
   </LocationMatch>
   
   <Location /adm/restrictedaccess>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::restrictedaccess
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/blockedaccess>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::blockedaccess
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/protected>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonprotected
   ErrorDocument     403 /adm/login
   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     409 /adm/preferences?action=lockwarning
   ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/switchserver>  <Location /adm/switchserver>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::switchserver  PerlHandler Apache::switchserver
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/authenticate>  <Location /adm/authenticate>
Line 433  SetHandler perl-script Line 857  SetHandler perl-script
 PerlHandler Apache::migrateuser  PerlHandler Apache::migrateuser
 </Location>  </Location>
   
   <Location /adm/sso>
     Header set Cache-Control "private,no-store,no-cache,max-age=0"
     <IfModule mod_shib>
       AuthType shibboleth
       ShibUseEnvironment On
       ShibRequestSetting requireSession 1
       ShibRequestSetting redirectToSSL 443
       require valid-user
       PerlAuthzHandler       Apache::lonshibacc
       PerlAuthzHandler       Apache::lonacc
       ErrorDocument     403 /adm/login
       ErrorDocument     500 /adm/errorhandler
     </IfModule>
     <IfModule !mod_shib>
       PerlTypeHandler        Apache::lonnoshib
     </IfModule>
   </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>  <Location /adm/annotation>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonspeller  PerlHandler Apache::admannotations
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/bookmarks>  <Location /adm/spellcheck>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::admbookmarks  PerlHandler Apache::lonspeller
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  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::lonnet::save_cache  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::lonnet::save_cache  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>  <Location /adm/notify>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonnotify  PerlHandler Apache::lonnotify
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 495  ErrorDocument     500 /adm/errorhandler Line 951  ErrorDocument     500 /adm/errorhandler
 </Location>  </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 503  ErrorDocument     406 /adm/roles Line 961  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/courseprefs>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::courseprefs
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/slotrequest>  <Location /adm/slotrequest>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::slotrequest  PerlHandler Apache::slotrequest
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 513  ErrorDocument   500 /adm/errorhandler Line 984  ErrorDocument   500 /adm/errorhandler
 </Location>  </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 522  ErrorDocument   500 /adm/errorhandler Line 995  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 530  ErrorDocument     406 /adm/roles Line 1005  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/requestcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonrequestcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </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 540  ErrorDocument   500 /adm/errorhandler Line 1028  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/modifycourse>  <Location /adm/modifycourse>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmodifycourse  PerlHandler Apache::lonmodifycourse
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 548  ErrorDocument     406 /adm/roles Line 1038  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </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/domainstatus>
   PerlAccessHandler       Apache::lonstatusacc
   SetHandler perl-script
   PerlHandler Apache::domainstatus
   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 558  ErrorDocument   500 /adm/errorhandler Line 1070  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 567  ErrorDocument     406 /adm/unauthorized Line 1081  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <LocationMatch "^/+\~.*/$">  <LocationMatch "^/+priv/.*/$">
 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 577  ErrorDocument     406 /adm/unauthorized Line 1093  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <Location /adm/pubdir>  
 PerlAccessHandler       Apache::lonacc  
 SetHandler perl-script  
 PerlHandler Apache::lonpubdir  
 ErrorDocument     403 /adm/login  
 ErrorDocument     404 /adm/notfound.html  
 ErrorDocument     406 /adm/unauthorized  
 ErrorDocument  500 /adm/errorhandler  
 </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 597  ErrorDocument   500 /adm/errorhandler Line 1105  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 607  ErrorDocument   500 /adm/errorhandler Line 1117  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/cleanup>  <Location /adm/cleanup>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncleanup  PerlHandler Apache::loncleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 617  ErrorDocument   500 /adm/errorhandler Line 1129  ErrorDocument   500 /adm/errorhandler
 </Location>  </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 627  ErrorDocument   500 /adm/errorhandler Line 1141  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 637  ErrorDocument   500 /adm/errorhandler Line 1153  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::lonupload  PerlHandler Apache::lonupload
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 647  ErrorDocument   500 /adm/errorhandler Line 1165  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/imsimport>  <Location /adm/imsimport>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::imsimport  PerlHandler Apache::imsimport
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 657  ErrorDocument     500 /adm/errorhandler Line 1177  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/testbank>  <Location /adm/testbank>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::testbankimport  PerlHandler Apache::testbankimport
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 667  ErrorDocument     500 /adm/errorhandler Line 1189  ErrorDocument     500 /adm/errorhandler
 </Location>  </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 677  ErrorDocument   500 /adm/errorhandler Line 1201  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 687  ErrorDocument   500 /adm/errorhandler Line 1213  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 697  ErrorDocument   500 /adm/errorhandler Line 1225  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 706  ErrorDocument   500 /adm/errorhandler Line 1236  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/viewclasslist>  <Location /adm/viewclasslist>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonviewclasslist  PerlHandler Apache::lonviewclasslist
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 715  ErrorDocument   500 /adm/errorhandler Line 1247  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/coursegroups>  <Location /adm/coursegroups>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncoursegroups  PerlHandler Apache::loncoursegroups
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 723  ErrorDocument     406 /adm/roles Line 1257  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </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>  <Location /adm/whatsnew>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonwhatsnew  PerlHandler Apache::lonwhatsnew
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 733  ErrorDocument     500 /adm/errorhandler Line 1291  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/populate>  <Location /adm/populate>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpopulate  PerlHandler Apache::lonpopulate
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 742  ErrorDocument     500 /adm/errorhandler Line 1302  ErrorDocument     500 /adm/errorhandler
 </Location>  </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 751  ErrorDocument   500 /adm/errorhandler Line 1313  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 760  ErrorDocument   500 /adm/errorhandler Line 1324  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 768  ErrorDocument   500 /adm/errorhandler Line 1334  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
 PerlHandler Apache::londocs  PerlHandler Apache::londocs
 PerlCleanupHandler Apache::londocs::untiehash  PerlCleanupHandler Apache::londocs::untiehash
 PerlCleanupHandler Apache::lonnet::save_cache  PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/supplemental>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::londocs
   PerlCleanupHandler Apache::londocs::untiehash
   PerlCleanupHandler      Apache::lonacc::cleanup
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/imsimportdocs>  <Location /adm/imsimportdocs>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::imsimportdocs  PerlHandler Apache::imsimportdocs
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/announcements>  <Location /adm/extresedit>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonextresedit
   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/groupchat>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::longroupchat
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/evaluate>  <Location /adm/evaluate>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonevaluate  PerlHandler Apache::lonevaluate
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 817  ErrorDocument   500 /adm/errorhandler Line 1427  ErrorDocument   500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/preferences>  <Location /adm/preferences>
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpreferences  PerlHandler Apache::lonpreferences
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 825  ErrorDocument   500 /adm/errorhandler Line 1437  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 833  ErrorDocument   500 /adm/errorhandler Line 1447  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::lonnet::save_cache  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 862  ErrorDocument     500 /adm/errorhandler Line 1482  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::lonnet::save_cache  PerlCleanupHandler Apache::lonacc::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/wishlist>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonwishlistdisplay
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/setblock>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonblockingmenu
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/blockingstatus>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonblockingstatus
   </Location>
   
   <Location /adm/accesstimes>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonaccesstimes
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/errorhandler>  <Location /adm/errorhandler>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonerrorhandler  PerlHandler Apache::lonerrorhandler
 </Location>  </Location>
   
 <LocationMatch "^/adm/help/.*\.hlp$">  <LocationMatch "^/adm/help/.*\.hlp$">
 PerlAccessHandler Apache::lonacc  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>
   
 <LocationMatch "^/adm/helpmenu">  <LocationMatch "^/adm/helpmenu">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhelpmenu  PerlHandler Apache::lonhelpmenu
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/support">  <LocationMatch "^/adm/support">
 PerlAccessHandler       Apache::lonacc  AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsupportreq  PerlHandler Apache::lonsupportreq
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/helpdesk">  <LocationMatch "^/adm/helpdesk">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsupportreq  PerlHandler Apache::lonsupportreq
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  <LocationMatch "^/adm/css/.*\.css$">
   SetHandler perl-script
   PerlHandler Apache::loncss
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
 <Location /cgi-bin/loncron.pl>  <LocationMatch "^/adm/coursecatalog">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::coursecatalog
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument  500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/userstatus.pl>  <LocationMatch "^/adm/resetpw">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::resetpw
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/lonversions.pl>  <LocationMatch "^/adm/selfenroll">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::selfenroll
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/clusterstatus.pl>  <LocationMatch "^/adm/createaccount">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::createaccount
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/metadata_keywords.pl>  <LocationMatch "^/adm/dns">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::londns
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/metadata_harvest.pl>  <LocationMatch "^/ajax/spellcheck">
 AuthName "harvest"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::spellcheck
 AuthUserFile /home/httpd/lonTabs/htpasswd  </LocationMatch>
 require user  reaper  
 </Location>  
   
 <Location /cgi-bin/takeoffline.pl>  <LocationMatch "^/tiny/[\w.-]+/\w+$">
 AuthName "Offline"  AuthType LONCAPA
 AuthType Basic  Require valid-user
 AuthUserFile /home/httpd/lonTabs/htpasswd  PerlAuthzHandler Apache::lonacc
 require user  offline  SetHandler perl-script
 </Location>  PerlHandler Apache::lontiny
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
 <Location /cgi-bin/takeonline.pl>  # ------------------------------------------------- Backdoor Adm Tests/Programs
 AuthName "Offline"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user  offline  
 </Location>  
   
 <Location /adm/test>  <Location /adm/test>
 AuthName "LON-CAPA Network Administration"  PerlAccessHandler Apache::lonstatusacc
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 SetHandler perl-script  SetHandler perl-script
 PerlAccessHandler 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 981  PerlChildExitHandler Apache::lonnet::goo Line 1649  PerlChildExitHandler Apache::lonnet::goo
 <Directory />  <Directory />
 Options None  Options None
 AllowOverride None  AllowOverride None
   <IfModule mod_authz_core.c>
     Require all denied
   </IfModule>
   <IfModule !mod_authz_core.c>
     order deny,allow
     deny from all
   </IfModule>
 </Directory>  </Directory>
   
   # Allow uploaded files to be served
   
   <Directory "/home/httpd/lonUsers">
   Options FollowSymLinks
   AllowOverride None
   <IfModule mod_authz_core.c>
     Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
   </Directory>
    
 # Yes to symbolic links and server-side includes  # Yes to symbolic links and server-side includes
   
 <Directory /home/httpd/html>  <Directory /home/httpd/html>
 Options Includes FollowSymLinks  Options FollowSymLinks
 AllowOverride None  AllowOverride None
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
 # If it is in cgi-bin, then it can be executed as a CGI script.  # If it is in cgi-bin, then it can be executed as a CGI script.
   
 <Directory /home/httpd/cgi-bin>  <Directory /home/httpd/cgi-bin>
 AllowOverride None  AllowOverride None
 Options ExecCGI  Options ExecCGI FollowSymLinks
   <IfModule mod_authz_core.c>
     Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
   # Allow serving of files in prtspool
   
   <Directory "/home/httpd/prtspool/">
   Options FollowSymLinks
   AllowOverride None
   <IfModule mod_authz_core.c>
     Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
   </Directory>
   
   # Allow serving of files in zipspool
   
   <Directory "/home/httpd/zipspool/">
   Options FollowSymLinks
   AllowOverride None
   <IfModule mod_authz_core.c>
     Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
   </Directory>
   
   # Allow serving of files in captchaspool
   
   <Directory "/home/httpd/captchaspool/">
   Options FollowSymLinks
   AllowOverride None
   <IfModule mod_authz_core.c>
     Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
   </Directory>
   
   <DirectoryMatch "^/home/httpd/html/priv/.+/">
      DirectoryIndex disabled
   </DirectoryMatch>
   
   <DirectoryMatch "^/home/httpd/html/res/.+/">
      DirectoryIndex disabled
   </DirectoryMatch>
   
 # ============================================================= Access Handlers  # ============================================================= Access Handlers
   
 # ------------------------------------------------- Allow server-status reports  # ------------------------------------------------- Allow server-status reports
 <Location /server-status>  <Location /server-status>
   PerlAccessHandler Apache::lonstatusacc
 SetHandler server-status  SetHandler server-status
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </Location>  </Location>
   
 # ------------------------ Allow LON-CAPA "low-level" connection status reports  # ------------------------ Allow LON-CAPA "low-level" connection status reports
 <Location /lon-status>  <LocationMatch "^/+lon-status/.*">
 AuthName "LON-CAPA Network Administration"  PerlAccessHandler Apache::lonstatusacc
 AuthType Basic  ErrorDocument     406 /adm/roles
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 # ------------------- Allow access to local system documentation from localhost  # ------------------- Allow access to local system documentation from localhost
 Alias /doc /usr/doc  Alias /doc /usr/doc
 <Directory /usr/doc>  <Directory /usr/doc>
 order deny,allow  
 deny from all  
 allow from localhost  
 Options Indexes FollowSymLinks  Options Indexes FollowSymLinks
   <IfModule mod_authz_host.c>
     Require local
   </IfModule>
   <IfModule !mod_authz_host.c>
     order deny,allow
     deny from all
     allow from localhost
   </IfModule>
 </Directory>  </Directory>
   
 # ******** 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 lonVersion  '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
   PerlSetVar       lonBalanceDir /home/httpd/balanceIDs
   PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
 PerlSetVar       lonTabDir    /home/httpd/lonTabs  PerlSetVar       lonTabDir    /home/httpd/lonTabs
 PerlSetVar       lonUsersDir  /home/httpd/lonUsers  PerlSetVar       lonUsersDir  /home/httpd/lonUsers
 PerlSetVar       lonIconsURL  /adm/lonIcons  PerlSetVar       lonIconsURL  /adm/lonIcons
 PerlSetVar       londPort     5663  PerlSetVar       londPort     5663
 PerlSetVar       lonSysEMail  korte@lite.msu.edu  PerlSetVar       lonSysEMail  techsupport@loncapa.org
 PerlSetVar       lonDaemons   /home/httpd/perl  PerlSetVar       lonDaemons   /home/httpd/perl
   PerlSetVar       lonLib       /home/httpd/lib
 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       lonPrtDir    /home/httpd/prtspool
 PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes  PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 # & sepeareted list of : seperated fileds inorder of  PerlSetVar       lonZipDir    /home/httpd/zipspool
   PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
   PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
   PerlSetVar       lonLTIDir    /home/httpd/lonLTItmp
   PerlSetVar       ltiIDsDir    /home/httpd/ltiIDs
   PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
   # & separated list of % separated fields in order of
 # - internal name to call it,   # - internal name to call it, 
 # - regexp that it should match (done case-insensitively)  # - regexp that it should match (done case-insensitively)
 # - regexp that is should not match (done case-insensitively)  # - regexp that is should not match (done case-insensitively)
Line 1050  PerlSetVar       lonIncludes  /home/http Line 1812  PerlSetVar       lonIncludes  /home/http
 # - a number that describes the minimum version that has mathml support  # - a number that describes the minimum version that has mathml support
 # - a number that describes the minimum number version that has unicode 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       lonBrowsDet  explorer%msie%netscape%msie\s(\d+\.\d+)\;%9999%5&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&chrome%chrome%chromeframe%\s+chrome\/(\d+\.\d+)%9999%1&explorer%\s+rv\:\d+\.\d+%firefox%\s+rv\:(\d+\.\d+)%9999%5&opera%\sOPR\/\d+\.\d+%shouldnotmatch%\sOPR\/(\d+\.\d+)%9999%6&opera%^Opera\/9.80\s.+Version\/\d+\.\d+$%shouldnotmatch%Version\/(\d+\.\d+)$%9999%6&opera%^Opera\/\d+\.\d+\s%Version\/\d+\.\d+$%^Opera\/(\d+\.\d+)\s%9999%6
   
 PerlSetVar       lonTextBrowsers windows\s+ce:lynx  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 BugzillaHost https://bugs.loncapa.org/
 PerlSetVar FAQHost http://help.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
Line 1066  PerlSetVar  FAQHost http://help.lon-capa Line 1828  PerlSetVar  FAQHost http://help.lon-capa
   
 PerlSetVar       lonSqlAccess   localhostkey  PerlSetVar       lonSqlAccess   localhostkey
   
 # -----------------------------------------------------------------------------  
 # lonttpdPort is the port used by the lightweight graphics httpd server  
 # not the main Apache server  
 PerlSetVar       lonhttpdPort  8080  
   
   
 #----------------------------------------------------------------------------  #----------------------------------------------------------------------------
 #  #
 #   Parameters used by secure lond/lonc  #   Parameters used by secure lond/lonc
Line 1101  PerlSetVar lonCertificateDirectory /home Line 1857  PerlSetVar lonCertificateDirectory /home
   
 PerlSetVar lonnetCertificateAuthority loncapaCA.pem  PerlSetVar lonnetCertificateAuthority loncapaCA.pem
 PerlSetVar lonnetCertificate          lonhostcert.pem  PerlSetVar lonnetCertificate          lonhostcert.pem
   PerlSetVar lonnetHostnameCertificate  lonhostnamecert.pem
   PerlSetVar lonnetCertRevocationList   loncapaCAcrl.pem
   
 #  #
 #  To generate the request for a certificate, and to negotiate the  #  To generate the request for a certificate, and to negotiate the
Line 1142  PerlSetVar SSLEmail     certificate@lon- Line 1900  PerlSetVar SSLEmail     certificate@lon-
 #-------------------------------------------------------------------------  #-------------------------------------------------------------------------
   
   
   # ====================================== Include support for SSL rewrites
   
   Include conf/loncapa_rewrite.conf
   
   
 # ====================================== Include machine-specific configuration  # ====================================== Include machine-specific configuration

Removed from v.1.122  
changed lines
  Added in v.1.276


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.