version 1.215.2.13, 2014/06/16 05:51:15
|
version 1.215.2.22.2.2, 2019/02/06 22:19:37
|
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|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax)"> |
<LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax)"> |
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/.*/ext\.tool$"> |
|
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 1302 PerlHandler Apache::groupsort
|
Line 1315 PerlHandler Apache::groupsort
|
PerlCleanupHandler Apache::groupsort::cleanup |
PerlCleanupHandler Apache::groupsort::cleanup |
PerlCleanupHandler Apache::lonacc::cleanup |
PerlCleanupHandler Apache::lonacc::cleanup |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
Line 1336 SetHandler perl-script
|
Line 1350 SetHandler perl-script
|
PerlHandler Apache::lonblockingstatus |
PerlHandler Apache::lonblockingstatus |
</Location> |
</Location> |
|
|
|
<Location /adm/accesstimes> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonaccesstimes |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/errorhandler> |
<Location /adm/errorhandler> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonerrorhandler |
PerlHandler Apache::lonerrorhandler |
Line 1416 SetHandler perl-script
|
Line 1441 SetHandler perl-script
|
PerlHandler Apache::spellcheck |
PerlHandler Apache::spellcheck |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/tiny/[\w.-]+/\w+$"> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lontiny |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</LocationMatch> |
|
|
# ------------------------------------------------- Backdoor Adm Tests/Programs |
# ------------------------------------------------- Backdoor Adm Tests/Programs |
|
|
Line 1452 AllowOverride None
|
Line 1486 AllowOverride None
|
# Allow uploaded files to be served |
# Allow uploaded files to be served |
|
|
<Directory "/home/httpd/lonUsers"> |
<Directory "/home/httpd/lonUsers"> |
Options Includes FollowSymLinks |
Options FollowSymLinks |
AllowOverride None |
AllowOverride None |
<IfModule mod_authz_core.c> |
<IfModule mod_authz_core.c> |
Require all granted |
Require all granted |
Line 1463 AllowOverride None
|
Line 1497 AllowOverride None
|
</IfModule> |
</IfModule> |
</Directory> |
</Directory> |
|
|
# Allow construction space files to be served |
|
|
|
<Directory "/home/*/public_html/" > |
|
Options Includes FollowSymLinks |
|
AllowOverride |
|
<IfModule mod_authz_core.c> |
|
Require all granted |
|
</IfModule> |
|
<IfModule !mod_authz_core.c> |
|
order allow,deny |
|
allow from all |
|
</IfModule> |
|
</Directory> |
|
|
|
# Yes to symbolic links and server-side includes |
# Yes to symbolic links and server-side includes |
|
|
<Directory /home/httpd/html> |
<Directory /home/httpd/html> |
Options Includes FollowSymLinks |
Options FollowSymLinks |
AllowOverride None |
AllowOverride None |
<IfModule mod_authz_core.c> |
<IfModule mod_authz_core.c> |
Require all granted |
Require all granted |
Line 1508 Options ExecCGI FollowSymLinks
|
Line 1528 Options ExecCGI FollowSymLinks
|
# Allow serving of files in prtspool |
# Allow serving of files in prtspool |
|
|
<Directory "/home/httpd/prtspool/"> |
<Directory "/home/httpd/prtspool/"> |
Options Includes FollowSymLinks |
Options FollowSymLinks |
AllowOverride None |
AllowOverride None |
<IfModule mod_authz_core.c> |
<IfModule mod_authz_core.c> |
Require all granted |
Require all granted |
Line 1522 AllowOverride None
|
Line 1542 AllowOverride None
|
# Allow serving of files in zipspool |
# Allow serving of files in zipspool |
|
|
<Directory "/home/httpd/zipspool/"> |
<Directory "/home/httpd/zipspool/"> |
Options Includes FollowSymLinks |
Options FollowSymLinks |
AllowOverride None |
AllowOverride None |
<IfModule mod_authz_core.c> |
<IfModule mod_authz_core.c> |
Require all granted |
Require all granted |
Line 1536 AllowOverride None
|
Line 1556 AllowOverride None
|
# Allow serving of files in captchaspool |
# Allow serving of files in captchaspool |
|
|
<Directory "/home/httpd/captchaspool/"> |
<Directory "/home/httpd/captchaspool/"> |
Options Includes FollowSymLinks |
Options FollowSymLinks |
AllowOverride None |
AllowOverride None |
<IfModule mod_authz_core.c> |
<IfModule mod_authz_core.c> |
Require all granted |
Require all granted |
Line 1551 AllowOverride None
|
Line 1571 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 1610 PerlSetVar lonFontsDir /home/h
|
Line 1634 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&explorer%\s+rv\:\d+\.\d+%firefox%\s+rv\:(\d+\.\d+)%9999%5 |
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 |