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

version 1.281, 2023/07/07 03:52:39 version 1.286, 2024/01/08 02:23:45
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 433  PerlCleanupHandler Apache::lonindexer::c Line 440  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 503  Require valid-user Line 512  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 547  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 562  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 579  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 1511  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.286


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