Diff for /loncom/loncapa_apache.conf between versions 1.270 and 1.282

version 1.270, 2020/09/04 19:36:57 version 1.282, 2023/08/28 18:58: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 275  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 503  Require valid-user Line 509  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/unauthorized  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 512  SetHandler perl-script Line 518  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 527  SetHandler perl-script Line 533  SetHandler perl-script
 PerlHandler Apache::daxeopen  PerlHandler Apache::daxeopen
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/daxeopen/(res|priv)/(.+/)?$">  <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 544  PerlHandler Apache::daxeopen Line 550  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 760  ErrorDocument     406 /adm/roles Line 773  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($|/)">  <LocationMatch "^/+adm/lti($|/)">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::ltiauth  PerlHandler Apache::ltiauth
Line 848  PerlHandler Apache::migrateuser Line 893  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 856  PerlHandler Apache::migrateuser Line 902  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

Removed from v.1.270  
changed lines
  Added in v.1.282


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