Diff for /loncom/loncapa_apache.conf between versions 1.281 and 1.283

version 1.281, 2023/07/07 03:52:39 version 1.283, 2023/08/28 20:40:00
Line 503  Require valid-user Line 503  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/unauthorized  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 518  SetHandler perl-script Line 538  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 533  SetHandler perl-script Line 553  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 547  PerlHandler Apache::daxeopen Line 567  PerlHandler Apache::daxeopen
 <IfModule mod_rewrite.c>  <IfModule mod_rewrite.c>
   RewriteEngine on    RewriteEngine on
   RewriteRule /daxeopen/(.*) /$1    RewriteRule /daxeopen/(.*) /$1
   </IfModule>
   </LocationMatch>
   
   <LocationMatch "(?i)^/daxeopen/uploaded/.+\.(?!html$|htm$|xhtml$|xhtm$)[^.]*$">
   <IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteRule /daxeopen/(.*) /$1
 </IfModule>  </IfModule>
 </LocationMatch>  </LocationMatch>
   

Removed from v.1.281  
changed lines
  Added in v.1.283


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