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

version 1.271, 2020/09/10 20:52:17 version 1.282, 2023/08/28 18:58:45
Line 150  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 276  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 504  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 513  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 528  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 545  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 761  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 849  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 857  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
Line 1738  AllowOverride None Line 1796  AllowOverride None
    DirectoryIndex disabled     DirectoryIndex disabled
 </DirectoryMatch>  </DirectoryMatch>
   
 <DirectoryMatch "^/home/httpd/lonUsers/*">  
    Options +FollowSymLinks -Includes  
 </DirectoryMatch>  
   
 # ============================================================= Access Handlers  # ============================================================= Access Handlers
   
 # ------------------------------------------------- Allow server-status reports  # ------------------------------------------------- Allow server-status reports

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


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