Diff for /loncom/loncapa_apache.conf between versions 1.228 and 1.243

version 1.228, 2013/12/13 02:10:30 version 1.243, 2016/03/18 18:21:08
Line 30  PerlSetVar MODPERL2 1 Line 30  PerlSetVar MODPERL2 1
 </IfDefine>  </IfDefine>
 # =============================================================== Miscellaneous  # =============================================================== Miscellaneous
   
 ServerAdmin korte@lite.msu.edu  ServerAdmin consortium@loncapa.org
 ExtendedStatus On  ExtendedStatus On
 #  #
 # LON-CAPA Section (extensions to srm.conf name space servicing)  # LON-CAPA Section (extensions to srm.conf name space servicing)
Line 68  PerlAuthzHandler 'sub { return OK }' Line 68  PerlAuthzHandler 'sub { return OK }'
 </LocationMatch>  </LocationMatch>
   
 # Send proper expires header to avoid unnecessary HTTP request for static content  # Send proper expires header to avoid unnecessary HTTP request for static content
 <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/ckeditor)">  <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)">
         ExpiresActive On          ExpiresActive On
         ExpiresDefault "access plus 12 hours"          ExpiresDefault "access plus 12 hours"
         Header set Cache-Control "public, no-transform"          Header set Cache-Control "public, no-transform"
Line 270  ErrorDocument     406 /adm/notinit.html Line 270  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/.*/exttools?$">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler        Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::londatecheck
   PerlHandler             Apache::lonipcheck
   PerlHandler             Apache::lonexttool
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
 <LocationMatch "^/+priv/.*">  <LocationMatch "^/+priv/.*">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 281  ErrorDocument     406 /adm/unauthorized Line 294  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+webdav/[\w\-]+/[\w\-]+/">  <LocationMatch "^/+webdav/[\w\-.]+/\w[\w.\-\@]+/">
   <IfModule mod_dav.c>    <IfModule mod_dav.c>
     <IfModule mod_ssl.c>      <IfModule mod_ssl.c>
       AuthType Basic        AuthType Basic
Line 445  SetHandler perl-script Line 458  SetHandler perl-script
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/daxe(page|open)/priv/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::loncacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/daxe(page|open)/uploaded/">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
   SetHandler perl-script
   PerlHandler Apache::daxepage
   </LocationMatch>
   
   <LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$">
   SetHandler perl-script
   PerlHandler Apache::daxepage
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/priv/.*/$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$">
   SetHandler perl-script
   PerlHandler Apache::daxeopen
   </LocationMatch>
   
   <IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteRule ^/daxeopen/(.*) /$1
   </IfModule>
   
   <LocationMatch "^/daxesave$">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::daxesave
   </LocationMatch>
   
 <LocationMatch "^/adm/wrapper/">  <LocationMatch "^/adm/wrapper/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1561  AllowOverride None Line 1632  AllowOverride None
    DirectoryIndex disabled     DirectoryIndex disabled
 </DirectoryMatch>  </DirectoryMatch>
   
   <DirectoryMatch "^/home/httpd/html/res/.+/">
      DirectoryIndex disabled
   </DirectoryMatch>
   
 # ============================================================= Access Handlers  # ============================================================= Access Handlers
   
 # ------------------------------------------------- Allow server-status reports  # ------------------------------------------------- Allow server-status reports
Line 1600  PerlSetVar       lonTabDir    /home/http Line 1675  PerlSetVar       lonTabDir    /home/http
 PerlSetVar       lonUsersDir  /home/httpd/lonUsers  PerlSetVar       lonUsersDir  /home/httpd/lonUsers
 PerlSetVar       lonIconsURL  /adm/lonIcons  PerlSetVar       lonIconsURL  /adm/lonIcons
 PerlSetVar       londPort     5663  PerlSetVar       londPort     5663
 PerlSetVar       lonSysEMail  korte@lite.msu.edu  PerlSetVar       lonSysEMail  techsupport@loncapa.org
 PerlSetVar       lonDaemons   /home/httpd/perl  PerlSetVar       lonDaemons   /home/httpd/perl
 PerlSetVar       lonLib       /home/httpd/lib  PerlSetVar       lonLib       /home/httpd/lib
 PerlSetVar       lonSockDir   /home/httpd/sockets  PerlSetVar       lonSockDir   /home/httpd/sockets
Line 1612  PerlSetVar       lonZipDir    /home/http Line 1687  PerlSetVar       lonZipDir    /home/http
 PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool  PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
 PerlSetVar       lonCaptchaDb     /home/httpd/captchadb   PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
 PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts  PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
 # & separated list of : separated fields in order of  # & separated list of % separated fields in order of
 # - internal name to call it,   # - internal name to call it, 
 # - regexp that it should match (done case-insensitively)  # - regexp that it should match (done case-insensitively)
 # - regexp that is should not match (done case-insensitively)  # - regexp that is should not match (done case-insensitively)
Line 1620  PerlSetVar       lonFontsDir     /home/h Line 1695  PerlSetVar       lonFontsDir     /home/h
 # - a number that describes the minimum version that has mathml support  # - a number that describes the minimum version that has mathml support
 # - a number that describes the minimum number version that has unicode support  # - a number that describes the minimum number version that has unicode support
   
 PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:5&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84&chrome:chrome:chromeframe:\s+chrome\/(\d+\.\d+):9999:1  PerlSetVar       lonBrowsDet  explorer%msie%netscape%msie\s(\d+\.\d+)\;%9999%5&mozilla%mozilla\/[5-9]%msie%mozilla\/(\d+\.\d+)\s%9999%1&netscape%netscape%msie%netscape\/(\d+\.\d+)%9999%7&netscape%netscape\/[7-9]%shouldnotmatch%netscape\/(\d+\.\d+)%9999%7&amaya%amaya%mozilla%V(\d+\.\d+)\s%1%1&safari%safari%msie%safari\/([\d\.]+)%9999%84&chrome%chrome%chromeframe%\s+chrome\/(\d+\.\d+)%9999%1&explorer%\s+rv\:\d+\.\d+%firefox%\s+rv\:(\d+\.\d+)%9999%5&opera%\sOPR\/\d+\.\d+%shouldnotmatch%\sOPR\/(\d+\.\d+)%9999%6&opera%^Opera\/9.80\s.+Version\/\d+\.\d+$%shouldnotmatch%Version\/(\d+\.\d+)$%9999%6&opera%^Opera\/\d+\.\d+\s%Version\/\d+\.\d+$%^Opera\/(\d+\.\d+)\s%9999%6
   
 PerlSetVar       lonTextBrowsers windows\s+ce:lynx  PerlSetVar       lonTextBrowsers windows\s+ce:lynx
 PerlSetVar       lonScansDir  /home/httpd/scantron  PerlSetVar       lonScansDir  /home/httpd/scantron

Removed from v.1.228  
changed lines
  Added in v.1.243


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