version 1.240, 2016/02/17 15:52:38
|
version 1.248, 2016/07/25 19:49:45
|
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|/adm/daxe)"> |
<LocationMatch "^(/adm/lonIcons|/adm/jQuery|/res/adm/pages|/ckeditor|/adm/jpicker|/adm/countdown|/adm/spellchecker|/adm/nicescroll|/adm/MathJax|/adm/daxe)"> |
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/.*/exttools?$"> |
|
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 "^/adm/placement$"> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonplacementtest |
|
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 470 SetHandler perl-script
|
Line 494 SetHandler perl-script
|
PerlHandler Apache::daxepage |
PerlHandler Apache::daxepage |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/supplemental/.*html?$"> |
<LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::daxepage |
PerlHandler Apache::daxepage |
</LocationMatch> |
</LocationMatch> |
Line 485 SetHandler perl-script
|
Line 509 SetHandler perl-script
|
PerlHandler Apache::daxeopen |
PerlHandler Apache::daxeopen |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/supplemental/.*html?$"> |
<LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::daxeopen |
PerlHandler Apache::daxeopen |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$"> |
<IfModule mod_rewrite.c> |
<IfModule mod_rewrite.c> |
RewriteEngine on |
RewriteEngine on |
RewriteRule ^/daxeopen/(.*) /$1 |
RewriteRule /daxeopen/(.*) /$1 |
</IfModule> |
</IfModule> |
|
</LocationMatch> |
|
|
<LocationMatch "^/daxesave$"> |
<LocationMatch "^/daxesave$"> |
AuthType LONCAPA |
AuthType LONCAPA |
Line 503 SetHandler perl-script
|
Line 529 SetHandler perl-script
|
PerlHandler Apache::daxesave |
PerlHandler Apache::daxesave |
</LocationMatch> |
</LocationMatch> |
|
|
|
<Location /adm/coursepub> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::loncoursepub |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<LocationMatch "^/adm/wrapper/"> |
<LocationMatch "^/adm/wrapper/"> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 1727 PerlSetVar lonCertificateDirectory /home
|
Line 1763 PerlSetVar lonCertificateDirectory /home
|
|
|
PerlSetVar lonnetCertificateAuthority loncapaCA.pem |
PerlSetVar lonnetCertificateAuthority loncapaCA.pem |
PerlSetVar lonnetCertificate lonhostcert.pem |
PerlSetVar lonnetCertificate lonhostcert.pem |
|
PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem |
|
|
# |
# |
# To generate the request for a certificate, and to negotiate the |
# To generate the request for a certificate, and to negotiate the |