version 1.222, 2013/01/28 19:29:13
|
version 1.227, 2013/12/07 22:13:27
|
Line 18 Group www
|
Line 18 Group www
|
|
|
# ======================================================= Shared Object Modules |
# ======================================================= Shared Object Modules |
|
|
LoadModule perl_module modules/libperl.so |
<IfModule !perl_module> |
|
LoadModule perl_module modules/libperl.so |
|
</IfModule> |
<IfDefine !MODPERL2> |
<IfDefine !MODPERL2> |
AddModule mod_perl.c |
AddModule mod_perl.c |
</IfDefine> |
</IfDefine> |
Line 1187 ErrorDocument 403 /adm/login
|
Line 1189 ErrorDocument 403 /adm/login
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/extresedit> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonextresedit |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<LocationMatch "^/adm/announcements"> |
<LocationMatch "^/adm/announcements"> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 1438 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 1447 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 1456 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 1465 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 1474 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 1483 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 1492 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 1501 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 1523 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 1559 PerlSetVar lonFontsDir /home/h
|
Line 1620 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:shouldnotmatch: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 |
|
|
PerlSetVar lonTextBrowsers windows\s+ce:lynx |
PerlSetVar lonTextBrowsers windows\s+ce:lynx |
PerlSetVar lonScansDir /home/httpd/scantron |
PerlSetVar lonScansDir /home/httpd/scantron |