Diff for /loncom/loncapa_apache.conf between versions 1.215.2.30.2.8 and 1.275

version 1.215.2.30.2.8, 2024/02/28 19:41:54 version 1.275, 2021/08/04 19:59:11
Line 193  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 287  AuthType LONCAPA Line 280  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 296  ErrorDocument     406 /adm/notinit.html Line 288  ErrorDocument     406 /adm/notinit.html
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/placement$">
   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>
   
 <Location /adm/exturlcheck>  <Location /adm/exturlcheck>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 429  PerlCleanupHandler Apache::lonindexer::c Line 432  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 501  Require valid-user Line 502  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 </LocationMatch>  </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     404 /adm/notfound.html  
 ErrorDocument     406 /adm/unauthorized  
 ErrorDocument     500 /adm/errorhandler  
 </LocationMatch>  
   
 <LocationMatch "^/daxe(page|open)/uploaded/">  <LocationMatch "^/daxe(page|open)/uploaded/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  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/unauthorized
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 536  SetHandler perl-script Line 517  SetHandler perl-script
 PerlHandler Apache::daxepage  PerlHandler Apache::daxepage
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">  <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxepage  PerlHandler Apache::daxepage
 </LocationMatch>  </LocationMatch>
Line 551  SetHandler perl-script Line 532  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxeopen/(res|priv|uploaded)/(.+/)?$">  <LocationMatch "^/daxeopen/(res|priv)/(.+/)?$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/(docs|supplemental)/.*html?$">  <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
Line 568  PerlHandler Apache::daxeopen Line 549  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))$">  <LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$">
 <IfModule mod_rewrite.c>  <IfModule mod_rewrite.c>
   RewriteEngine on    RewriteEngine on
Line 590  SetHandler perl-script Line 564  SetHandler perl-script
 PerlHandler Apache::daxesave  PerlHandler Apache::daxesave
 </LocationMatch>  </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/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 656  ErrorDocument     403 /adm/login Line 640  ErrorDocument     403 /adm/login
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </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>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 699  ErrorDocument     403 /adm/login Line 693  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/remote>  <Location /adm/pickresource>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  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>
Line 771  ErrorDocument     406 /adm/roles Line 765  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </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
Line 792  SetHandler perl-script Line 775  SetHandler perl-script
 PerlHandler Apache::ltiauth  PerlHandler Apache::ltiauth
 </LocationMatch>  </LocationMatch>
   
 <Location /adm/relaunch>  
 SetHandler perl-script  
 PerlHandler Apache::lonrelaunch  
 </Location>  
   
 <LocationMatch "^/+adm/lti($|/)">  <LocationMatch "^/+adm/lti($|/)">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::ltiauth  PerlHandler Apache::ltiauth
Line 880  PerlHandler Apache::migrateuser Line 858  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 889  PerlHandler Apache::migrateuser Line 866  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 1535  SetHandler perl-script Line 1499  SetHandler perl-script
 PerlHandler Apache::lonwishlistdisplay  PerlHandler Apache::lonwishlistdisplay
 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/setblock>  <Location /adm/setblock>
Line 1815  Options Indexes FollowSymLinks Line 1779  Options Indexes FollowSymLinks
 # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************  # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
 # ====================================== Internal Settings / Perl Configuration  # ====================================== Internal Settings / Perl Configuration
   
 PerlSetVar lonVersion   '<!-- VERSION -->'  PerlSetVar lonVersion  '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 PerlSetVar       lonBalanceDir /home/httpd/balanceIDs  PerlSetVar       lonBalanceDir /home/httpd/balanceIDs
 PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs  PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
Line 1890  PerlSetVar lonCertificateDirectory /home Line 1854  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.215.2.30.2.8  
changed lines
  Added in v.1.275


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