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

version 1.281, 2023/07/07 03:52:39 version 1.284, 2023/11/03 01:12:17
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 550  PerlHandler Apache::daxeopen Line 570  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 1475  ErrorDocument     403 /adm/login Line 1502  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

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


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