Diff for /loncom/loncapa_apache.conf between versions 1.215.2.9 and 1.215.2.10

version 1.215.2.9, 2013/08/09 20:59:57 version 1.215.2.10, 2013/12/13 02:50:01
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
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 635  PerlHandler Apache::lonlogin Line 635  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 645  ErrorDocument   500 /adm/errorhandler Line 645  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 1440  PerlChildExitHandler Apache::lonacc::goo Line 1440  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 1449  deny from all Line 1454  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 1458  allow from all Line 1468  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 1467  allow from all Line 1482  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 1476  allow from all Line 1496  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 1485  allow from all Line 1510  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 1494  allow from all Line 1524  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 1503  allow from all Line 1538  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 1525  ErrorDocument     500 /adm/errorhandler Line 1569  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 ************************

Removed from v.1.215.2.9  
changed lines
  Added in v.1.215.2.10


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