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

version 1.215.2.10, 2013/12/13 02:50:01 version 1.225, 2013/07/22 11:46:30
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)$">
 PerlAuthzHandler 'sub { return OK }'   PerlAuthenHandler '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
 PerlAuthzHandler Apache::lonacc  
 SetHandler perl-script  SetHandler perl-script
   PerlAuthzHandler Apache::lonacc
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
 </LocationMatch>  </LocationMatch>
   
Line 511  ErrorDocument     403 /adm/login Line 511  ErrorDocument     403 /adm/login
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/indexcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonindexcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/statistics>  <Location /adm/statistics>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 554  ErrorDocument     403 /adm/login Line 564  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/remote>  <Location /adm/pickresource>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonremote  PerlHandler Apache::lonpickresource
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
Line 635  PerlHandler Apache::lonlogin Line 645  PerlHandler Apache::lonlogin
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  
 SetHandler perl-script  SetHandler perl-script
   PerlAuthzHandler       Apache::lonacc
 PerlHandler Apache::restrictedaccess  PerlHandler Apache::restrictedaccess
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
Line 645  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
 PerlAuthzHandler       Apache::lonacc  
 SetHandler perl-script  SetHandler perl-script
   PerlAuthzHandler       Apache::lonacc
 PerlHandler Apache::blockedaccess  PerlHandler Apache::blockedaccess
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
Line 1313  SetHandler perl-script Line 1323  SetHandler perl-script
 PerlHandler Apache::lonwishlistdisplay  PerlHandler Apache::lonwishlistdisplay
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/setblock>  <Location /adm/setblock>
Line 1440  PerlChildExitHandler Apache::lonacc::goo Line 1450  PerlChildExitHandler Apache::lonacc::goo
 <Directory />  <Directory />
 Options None  Options None
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  order deny,allow
   Require all denied  deny from all
 </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 1454  AllowOverride None Line 1459  AllowOverride None
 <Directory "/home/httpd/lonUsers">  <Directory "/home/httpd/lonUsers">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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  AllowOverride None Line 1468  AllowOverride None
 <Directory "/home/*/public_html/" >  <Directory "/home/*/public_html/" >
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride  AllowOverride
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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 1482  AllowOverride Line 1477  AllowOverride
 <Directory /home/httpd/html>  <Directory /home/httpd/html>
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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 1496  AllowOverride None Line 1486  AllowOverride None
 <Directory /home/httpd/cgi-bin>  <Directory /home/httpd/cgi-bin>
 AllowOverride None  AllowOverride None
 Options ExecCGI FollowSymLinks  Options ExecCGI FollowSymLinks
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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 1510  Options ExecCGI FollowSymLinks Line 1495  Options ExecCGI FollowSymLinks
 <Directory "/home/httpd/prtspool/">  <Directory "/home/httpd/prtspool/">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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 1524  AllowOverride None Line 1504  AllowOverride None
 <Directory "/home/httpd/zipspool/">  <Directory "/home/httpd/zipspool/">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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 1538  AllowOverride None Line 1513  AllowOverride None
 <Directory "/home/httpd/captchaspool/">  <Directory "/home/httpd/captchaspool/">
 Options Includes FollowSymLinks  Options Includes FollowSymLinks
 AllowOverride None  AllowOverride None
 <IfModule mod_authz_core.c>  order allow,deny
   Require all granted  allow from all
 </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 1569  ErrorDocument     500 /adm/errorhandler Line 1535  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 ************************
 # ====================================== Internal Settings / Perl Configuration  # ====================================== Internal Settings / Perl Configuration
   
 PerlSetVar lonVersion   '<!-- VERSION -->'  PerlSetVar lonVersion  '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs  PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
 PerlSetVar       lonTabDir    /home/httpd/lonTabs  PerlSetVar       lonTabDir    /home/httpd/lonTabs

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


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