Diff for /loncom/loncapa_apache.conf between versions 1.247 and 1.286

version 1.247, 2016/07/01 20:00:07 version 1.286, 2024/01/08 02:23:45
Line 131  ErrorDocument     500 /adm/errorhandler Line 131  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <LocationMatch "^/+userfiles.*">  <LocationMatch "^/+userfiles.*">
   Options +FollowSymLinks -Includes
 PerlAccessHandler       Apache::lontokacc  PerlAccessHandler       Apache::lontokacc
 PerlCleanupHandler Apache::lontokacc::removefile  PerlCleanupHandler Apache::lontokacc::removefile
 PerlCleanupHandler Apache::lonacc::cleanup  PerlCleanupHandler Apache::lonacc::cleanup
Line 149  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.*">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 188  SetHandler perl-script Line 193  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+uploaded/.*/.*/docs/.*\.tex$">
   SetHandler perl-script
   PerlHandler Apache::londatecheck
   PerlHandler Apache::lonipcheck
   PerlHandler Apache::lontex
   </LocationMatch>
   
 <LocationMatch "^/+public/.*/syllabus$">  <LocationMatch "^/+public/.*/syllabus$">
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
Line 270  ErrorDocument     406 /adm/notinit.html Line 282  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/exttools?$">  <LocationMatch "^/adm/.*/ext\.tool$">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler        Apache::lonacc  PerlAuthzHandler        Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
   PerlHandler             Apache::lonslotcheck
 PerlHandler             Apache::londatecheck  PerlHandler             Apache::londatecheck
 PerlHandler             Apache::lonipcheck  PerlHandler             Apache::lonipcheck
 PerlHandler             Apache::lonexttool  PerlHandler             Apache::lonexttool
Line 294  ErrorDocument     406 /adm/notinit.html Line 307  ErrorDocument     406 /adm/notinit.html
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <Location /adm/exturlcheck>
   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/.*">  <LocationMatch "^/+priv/.*">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 415  PerlCleanupHandler Apache::lonindexer::c Line 440  PerlCleanupHandler Apache::lonindexer::c
 PerlCleanupHandler Apache::lonacc::cleanup  PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+res.*\.tex$">  <LocationMatch "^/+res/.*\.tex$">
 SetHandler perl-script  SetHandler perl-script
   PerlHandler Apache::londatecheck
   PerlHandler Apache::lonipcheck
 PerlHandler Apache::lontex  PerlHandler Apache::lontex
 </LocationMatch>  </LocationMatch>
   
Line 469  SetHandler perl-script Line 496  SetHandler perl-script
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxe(page|open)/priv/">  <LocationMatch "^/daxepage/priv/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::loncacc  PerlAuthzHandler       Apache::loncacc
Line 479  ErrorDocument     406 /adm/unauthorized Line 506  ErrorDocument     406 /adm/unauthorized
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxe(page|open)/uploaded/">  <LocationMatch "^/daxeopen/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/priv/[^/]+/[^/]+/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::loncacc
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/(res/|$)">
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/priv/">
 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
 </LocationMatch>  </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/roles
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
 <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">  <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxepage  PerlHandler Apache::daxepage
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$">  <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxepage  PerlHandler Apache::daxepage
 </LocationMatch>  </LocationMatch>
Line 504  SetHandler perl-script Line 557  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxeopen/priv/.*/$">  <LocationMatch "^/daxeopen/$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/(res|priv|uploaded)/(.+/)?$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$">  <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
Line 521  PerlHandler Apache::daxeopen Line 579  PerlHandler Apache::daxeopen
 </IfModule>  </IfModule>
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "(?i)^/daxeopen/uploaded/.+\.(?!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$">  <LocationMatch "^/daxesave$">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 730  ErrorDocument     406 /adm/roles Line 802  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/courseauthor>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::loncourseauthor
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/courseuser>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::loncourseuser
   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>
   
   <Location /adm/relaunch>
   SetHandler perl-script
   PerlHandler Apache::lonrelaunch
   </Location>
   
   <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>  <Location /adm/restrictedaccess>
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
Line 755  PerlHandler Apache::blockedaccess Line 879  PerlHandler Apache::blockedaccess
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </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>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 787  PerlHandler Apache::migrateuser Line 922  PerlHandler Apache::migrateuser
 </Location>  </Location>
   
 <Location /adm/sso>  <Location /adm/sso>
     Header set Cache-Control "private,no-store,no-cache,max-age=0"
   <IfModule mod_shib>    <IfModule mod_shib>
     AuthType shibboleth      AuthType shibboleth
     ShibUseEnvironment On      ShibUseEnvironment On
Line 795  PerlHandler Apache::migrateuser Line 931  PerlHandler Apache::migrateuser
     require valid-user      require valid-user
     PerlAuthzHandler       Apache::lonshibacc      PerlAuthzHandler       Apache::lonshibacc
     PerlAuthzHandler       Apache::lonacc      PerlAuthzHandler       Apache::lonacc
       ErrorDocument     403 /adm/login
       ErrorDocument     500 /adm/errorhandler
   </IfModule>    </IfModule>
   <IfModule !mod_shib>    <IfModule !mod_shib>
     PerlTypeHandler        Apache::lonnoshib      PerlTypeHandler        Apache::lonnoshib
   </IfModule>    </IfModule>
 </Location>  </Location>
   
   <Location /adm/linkexit>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonlinkexit
   ErrorDocument     403 /adm/login
   ErrorDocument     409 /adm/preferences?action=lockwarning
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/annotations>  <Location /adm/annotations>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 811  ErrorDocument     403 /adm/login Line 960  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/annotation>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::admannotations
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/spellcheck>  <Location /adm/spellcheck>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1352  ErrorDocument     403 /adm/login Line 1511  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/viewcoauthors>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonviewcoauthors
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/communicate>  <Location /adm/communicate>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1406  PerlHandler Apache::groupsort Line 1576  PerlHandler Apache::groupsort
 PerlCleanupHandler Apache::groupsort::cleanup  PerlCleanupHandler Apache::groupsort::cleanup
 PerlCleanupHandler Apache::lonacc::cleanup  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>
   
Line 1440  SetHandler             perl-script Line 1611  SetHandler             perl-script
 PerlHandler            Apache::lonblockingstatus  PerlHandler            Apache::lonblockingstatus
 </Location>  </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
Line 1520  SetHandler perl-script Line 1702  SetHandler perl-script
 PerlHandler Apache::spellcheck  PerlHandler Apache::spellcheck
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/tiny/[\w.-]+/\w+$">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lontiny
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  # ------------------------------------------------- Backdoor Adm Tests/Programs
   
Line 1556  AllowOverride None Line 1747  AllowOverride None
 # Allow uploaded files to be served  # Allow uploaded files to be served
   
 <Directory "/home/httpd/lonUsers">  <Directory "/home/httpd/lonUsers">
 Options Includes FollowSymLinks  Options FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  <IfModule mod_authz_core.c>
   Require all granted    Require all granted
Line 1567  AllowOverride None Line 1758  AllowOverride None
 </IfModule>  </IfModule>
 </Directory>  </Directory>
     
 # Allow construction space files to be served  
   
 <Directory "/home/*/public_html/" >  
 Options Includes FollowSymLinks  
 AllowOverride  
 <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
 <IfModule mod_authz_core.c>  <IfModule mod_authz_core.c>
   Require all granted    Require all granted
Line 1612  Options ExecCGI FollowSymLinks Line 1789  Options ExecCGI FollowSymLinks
 # Allow serving of files in prtspool  # Allow serving of files in prtspool
   
 <Directory "/home/httpd/prtspool/">  <Directory "/home/httpd/prtspool/">
 Options Includes FollowSymLinks  Options FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  <IfModule mod_authz_core.c>
   Require all granted    Require all granted
Line 1626  AllowOverride None Line 1803  AllowOverride None
 # Allow serving of files in zipspool  # Allow serving of files in zipspool
   
 <Directory "/home/httpd/zipspool/">  <Directory "/home/httpd/zipspool/">
 Options Includes FollowSymLinks  Options FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  <IfModule mod_authz_core.c>
   Require all granted    Require all granted
Line 1640  AllowOverride None Line 1817  AllowOverride None
 # Allow serving of files in captchaspool  # Allow serving of files in captchaspool
   
 <Directory "/home/httpd/captchaspool/">  <Directory "/home/httpd/captchaspool/">
 Options Includes FollowSymLinks  Options FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  <IfModule mod_authz_core.c>
   Require all granted    Require all granted
Line 1693  Options Indexes FollowSymLinks Line 1870  Options Indexes FollowSymLinks
   
 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       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
Line 1709  PerlSetVar       lonIncludes  /home/http Line 1887  PerlSetVar       lonIncludes  /home/http
 PerlSetVar       lonZipDir    /home/httpd/zipspool  PerlSetVar       lonZipDir    /home/httpd/zipspool
 PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool  PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
 PerlSetVar       lonCaptchaDb     /home/httpd/captchadb   PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
   PerlSetVar       lonLTIDir    /home/httpd/lonLTItmp
   PerlSetVar       ltiIDsDir    /home/httpd/ltiIDs
 PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts  PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
 # & separated list of % separated fields in order of  # & separated list of % separated fields in order of
 # - internal name to call it,   # - internal name to call it, 
Line 1723  PerlSetVar       lonBrowsDet  explorer%m Line 1903  PerlSetVar       lonBrowsDet  explorer%m
 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 1763  PerlSetVar lonCertificateDirectory /home Line 1943  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

Removed from v.1.247  
changed lines
  Added in v.1.286


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>