version 1.215.2.30.2.3, 2023/07/05 22:20:59
|
version 1.281, 2023/07/07 03:52:39
|
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|/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|/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 280 AuthType LONCAPA
|
Line 280 AuthType LONCAPA
|
Require valid-user |
Require valid-user |
PerlAuthzHandler Apache::lonacc |
PerlAuthzHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
|
PerlHandler Apache::lonslotcheck |
PerlHandler Apache::londatecheck |
PerlHandler Apache::londatecheck |
PerlHandler Apache::lonipcheck |
PerlHandler Apache::lonipcheck |
PerlHandler Apache::lonexttool |
PerlHandler Apache::lonexttool |
Line 288 ErrorDocument 406 /adm/notinit.html
|
Line 289 ErrorDocument 406 /adm/notinit.html
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</LocationMatch> |
</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> |
|
|
<Location /adm/exturlcheck> |
<Location /adm/exturlcheck> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 475 SetHandler perl-script
|
Line 487 SetHandler perl-script
|
PerlHandler Apache::lonxml |
PerlHandler Apache::lonxml |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/daxepage/priv/"> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::loncacc |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized |
|
ErrorDocument 500 /adm/errorhandler |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxeopen/"> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxe(page|open)/uploaded/"> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized |
|
ErrorDocument 500 /adm/errorhandler |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxepage/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::daxepage |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxepage/uploaded/[^/]+/[^/]+/.*html?$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::daxepage |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxeopen/priv/.*\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::daxeopen |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxeopen/$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::daxeopen |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxeopen/(res|priv)/(.+/)?$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::daxeopen |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxeopen/uploaded/[^/]+/[^/]+/.*html?$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::daxeopen |
|
</LocationMatch> |
|
|
|
<LocationMatch "(?i)^/daxeopen/priv/.+\.(?!task$|problem$|exam$|quiz$|assess$|survey$|library$|xml$|html$|htm$|xhtml$|xhtm$)[^.]*$"> |
|
<IfModule mod_rewrite.c> |
|
RewriteEngine on |
|
RewriteRule /daxeopen/(.*) /$1 |
|
</IfModule> |
|
</LocationMatch> |
|
|
|
<LocationMatch "(?i)^/daxeopen/(res/.*\.(jpg|jpeg|gif|png|svg))$"> |
|
<IfModule mod_rewrite.c> |
|
RewriteEngine on |
|
RewriteRule /daxeopen/(.*) /$1 |
|
</IfModule> |
|
</LocationMatch> |
|
|
|
<LocationMatch "^/daxesave$"> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::daxesave |
|
</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 541 ErrorDocument 403 /adm/login
|
Line 641 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 584 ErrorDocument 403 /adm/login
|
Line 694 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 656 ErrorDocument 406 /adm/roles
|
Line 766 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/courseauthor> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::loncourseauthor |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/courseuser> |
|
AuthType LONCAPA |
|
Require valid-user |
|
PerlAuthzHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::loncourseuser |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/login> |
<Location /adm/login> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonlogin |
PerlHandler Apache::lonlogin |
Line 1409 SetHandler perl-script
|
Line 1541 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 1523 SetHandler perl-script
|
Line 1655 SetHandler perl-script
|
PerlHandler Apache::spellcheck |
PerlHandler Apache::spellcheck |
</LocationMatch> |
</LocationMatch> |
|
|
|
|
<LocationMatch "^/tiny/[\w.-]+/\w+$"> |
<LocationMatch "^/tiny/[\w.-]+/\w+$"> |
AuthType LONCAPA |
AuthType LONCAPA |
Require valid-user |
Require valid-user |
Line 1690 Options Indexes FollowSymLinks
|
Line 1821 Options Indexes FollowSymLinks
|
# ******** 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 lonBalanceDir /home/httpd/balanceIDs |
PerlSetVar lonBalanceDir /home/httpd/balanceIDs |
PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs |
PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs |
Line 1765 PerlSetVar lonCertificateDirectory /home
|
Line 1896 PerlSetVar lonCertificateDirectory /home
|
|
|
PerlSetVar lonnetCertificateAuthority loncapaCA.pem |
PerlSetVar lonnetCertificateAuthority loncapaCA.pem |
PerlSetVar lonnetCertificate lonhostcert.pem |
PerlSetVar lonnetCertificate lonhostcert.pem |
|
PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem |
|
PerlSetVar lonnetCertRevocationList loncapaCAcrl.pem |
|
|
# |
# |
# To generate the request for a certificate, and to negotiate the |
# To generate the request for a certificate, and to negotiate the |