--- loncom/loncapa_apache.conf 2023/07/07 10:37:03 1.215.2.30.2.4
+++ loncom/loncapa_apache.conf 2020/09/11 22:11:30 1.273
@@ -2,7 +2,7 @@
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-# $Id: loncapa_apache.conf,v 1.215.2.30.2.4 2023/07/07 10:37:03 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.273 2020/09/11 22:11:30 raeburn Exp $
#
# LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -68,7 +68,7 @@ PerlAuthzHandler 'sub { return OK }'
# Send proper expires header to avoid unnecessary HTTP request for static content
-
+
ExpiresActive On
ExpiresDefault "access plus 12 hours"
Header set Cache-Control "public, no-transform"
@@ -150,7 +150,7 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
-
+
Options +FollowSymLinks -Includes
@@ -280,7 +280,6 @@ AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
-PerlHandler Apache::lonslotcheck
PerlHandler Apache::londatecheck
PerlHandler Apache::lonipcheck
PerlHandler Apache::lonexttool
@@ -289,6 +288,17 @@ ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
+
+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
+
+
AuthType LONCAPA
Require valid-user
@@ -476,6 +486,94 @@ SetHandler perl-script
PerlHandler Apache::lonxml
+
+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
+
+
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+
+
+
+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
+
+
+
+SetHandler perl-script
+PerlHandler Apache::daxepage
+
+
+
+SetHandler perl-script
+PerlHandler Apache::daxepage
+
+
+
+SetHandler perl-script
+PerlHandler Apache::daxeopen
+
+
+
+SetHandler perl-script
+PerlHandler Apache::daxeopen
+
+
+
+SetHandler perl-script
+PerlHandler Apache::daxeopen
+
+
+
+SetHandler perl-script
+PerlHandler Apache::daxeopen
+
+
+
+
+ RewriteEngine on
+ RewriteRule /daxeopen/(.*) /$1
+
+
+
+
+
+ RewriteEngine on
+ RewriteRule /daxeopen/(.*) /$1
+
+
+
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::daxesave
+
+
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::loncoursepub
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -542,6 +640,16 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonindexcourse
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -585,12 +693,12 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
-
+
AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
-PerlHandler Apache::lonremote
+PerlHandler Apache::lonpickresource
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
@@ -662,16 +770,6 @@ SetHandler perl-script
PerlHandler Apache::lonlogin
-
-SetHandler perl-script
-PerlHandler Apache::ltiauth
-
-
-
-SetHandler perl-script
-PerlHandler Apache::lonrelaunch
-
-
SetHandler perl-script
PerlHandler Apache::ltiauth
@@ -755,7 +853,6 @@ PerlHandler Apache::migrateuser
- Header set Cache-Control "private,no-store,no-cache,max-age=0"
AuthType shibboleth
ShibUseEnvironment On
@@ -764,25 +861,12 @@ PerlHandler Apache::migrateuser
require valid-user
PerlAuthzHandler Apache::lonshibacc
PerlAuthzHandler Apache::lonacc
- ErrorDocument 403 /adm/login
- ErrorDocument 500 /adm/errorhandler
PerlTypeHandler Apache::lonnoshib
-
-AuthType LONCAPA
-Require valid-user
-PerlAuthzHandler Apache::lonacc
-SetHandler perl-script
-PerlHandler Apache::lonlinkexit
-ErrorDocument 403 /adm/login
-ErrorDocument 409 /adm/preferences?action=lockwarning
-ErrorDocument 500 /adm/errorhandler
-
-
AuthType LONCAPA
Require valid-user
@@ -1410,7 +1494,7 @@ SetHandler perl-script
PerlHandler Apache::lonwishlistdisplay
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
-ErrorDocument 500 /adm/errorhandler
+ErrorDocument 500 /adm/errorhandler
@@ -1524,7 +1608,6 @@ SetHandler perl-script
PerlHandler Apache::spellcheck
-
AuthType LONCAPA
Require valid-user
@@ -1691,7 +1774,7 @@ Options Indexes FollowSymLinks
# ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
# ====================================== Internal Settings / Perl Configuration
-PerlSetVar lonVersion ''
+PerlSetVar lonVersion ''
PerlSetVar lonIDsDir /home/httpd/lonIDs
PerlSetVar lonBalanceDir /home/httpd/balanceIDs
PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs
@@ -1766,6 +1849,8 @@ PerlSetVar lonCertificateDirectory /home
PerlSetVar lonnetCertificateAuthority loncapaCA.pem
PerlSetVar lonnetCertificate lonhostcert.pem
+PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem
+PerlSetVar lonnetCertRevocationList loncapaCAcrl.pem
#
# To generate the request for a certificate, and to negotiate the