Diff for /loncom/loncapa_apache.conf between versions 1.225 and 1.229

version 1.225, 2013/07/22 11:46:30 version 1.229, 2014/01/08 18:48:16
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 64  PerlSetVar lonOtherAuthen no Line 64  PerlSetVar lonOtherAuthen no
   
 #PerlWarn On  #PerlWarn On
 <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">  <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
 PerlAuthenHandler 'sub { return OK }'   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|/adm/jsMath|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll)">
         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 416  ErrorDocument     413 /adm/overloaded.tx Line 416  ErrorDocument     413 /adm/overloaded.tx
 <LocationMatch "^/adm/bombs/">  <LocationMatch "^/adm/bombs/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 SetHandler perl-script  
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
 </LocationMatch>  </LocationMatch>
   
Line 645  PerlHandler Apache::lonlogin Line 645  PerlHandler Apache::lonlogin
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 SetHandler perl-script  
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
 PerlHandler Apache::restrictedaccess  PerlHandler Apache::restrictedaccess
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
Line 655  ErrorDocument   500 /adm/errorhandler Line 655  ErrorDocument   500 /adm/errorhandler
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 SetHandler perl-script  
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
 PerlHandler Apache::blockedaccess  PerlHandler Apache::blockedaccess
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
Line 1450  PerlChildExitHandler Apache::lonacc::goo Line 1450  PerlChildExitHandler Apache::lonacc::goo
 <Directory />  <Directory />
 Options None  Options None
 AllowOverride None  AllowOverride None
 order deny,allow  <IfModule mod_authz_core.c>
 deny from all    Require all denied
   </IfModule>
   <IfModule !mod_authz_core.c>
     order deny,allow
     deny from all
   </IfModule>
 </Directory>  </Directory>
   
 # Allow uploaded files to be served  # Allow uploaded files to be served
Line 1459  deny from all Line 1464  deny from all
 <Directory "/home/httpd/lonUsers">  <Directory "/home/httpd/lonUsers">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
     
 # Allow construction space files to be served  # Allow construction space files to be served
Line 1468  allow from all Line 1478  allow from all
 <Directory "/home/*/public_html/" >  <Directory "/home/*/public_html/" >
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride  AllowOverride
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
 # Yes to symbolic links and server-side includes  # Yes to symbolic links and server-side includes
Line 1477  allow from all Line 1492  allow from all
 <Directory /home/httpd/html>  <Directory /home/httpd/html>
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
 # If it is in cgi-bin, then it can be executed as a CGI script.  # If it is in cgi-bin, then it can be executed as a CGI script.
Line 1486  allow from all Line 1506  allow from all
 <Directory /home/httpd/cgi-bin>  <Directory /home/httpd/cgi-bin>
 AllowOverride None  AllowOverride None
 Options ExecCGI FollowSymLinks  Options ExecCGI FollowSymLinks
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
 # Allow serving of files in prtspool  # Allow serving of files in prtspool
Line 1495  allow from all Line 1520  allow from all
 <Directory "/home/httpd/prtspool/">  <Directory "/home/httpd/prtspool/">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
 # Allow serving of files in zipspool  # Allow serving of files in zipspool
Line 1504  allow from all Line 1534  allow from all
 <Directory "/home/httpd/zipspool/">  <Directory "/home/httpd/zipspool/">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
 # Allow serving of files in captchaspool  # Allow serving of files in captchaspool
Line 1513  allow from all Line 1548  allow from all
 <Directory "/home/httpd/captchaspool/">  <Directory "/home/httpd/captchaspool/">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 order allow,deny  <IfModule mod_authz_core.c>
 allow from all    Require all granted
   </IfModule>
   <IfModule !mod_authz_core.c>
     order allow,deny
     allow from all
   </IfModule>
 </Directory>  </Directory>
   
   <DirectoryMatch "^/home/httpd/html/priv/.+/">
      DirectoryIndex disabled
   </DirectoryMatch>
   
 # ============================================================= Access Handlers  # ============================================================= Access Handlers
   
 # ------------------------------------------------- Allow server-status reports  # ------------------------------------------------- Allow server-status reports
Line 1535  ErrorDocument     500 /adm/errorhandler Line 1579  ErrorDocument     500 /adm/errorhandler
 # ------------------- Allow access to local system documentation from localhost  # ------------------- Allow access to local system documentation from localhost
 Alias /doc /usr/doc  Alias /doc /usr/doc
 <Directory /usr/doc>  <Directory /usr/doc>
 order deny,allow  
 deny from all  
 allow from localhost  
 Options Indexes FollowSymLinks  Options Indexes FollowSymLinks
   <IfModule mod_authz_host.c>
     Require local
   </IfModule>
   <IfModule !mod_authz_host.c>
     order deny,allow
     deny from all
     allow from localhost
   </IfModule>
 </Directory>  </Directory>
   
 # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************  # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
Line 1551  PerlSetVar       lonTabDir    /home/http Line 1600  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

Removed from v.1.225  
changed lines
  Added in v.1.229


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