--- loncom/loncapa_apache.conf 2020/09/04 19:39:42 1.215.2.26
+++ loncom/loncapa_apache.conf 2017/02/24 17:35:01 1.253
@@ -2,7 +2,7 @@
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-# $Id: loncapa_apache.conf,v 1.215.2.26 2020/09/04 19:39:42 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.253 2017/02/24 17:35:01 damieng 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"
@@ -270,17 +270,29 @@ ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
-
+
AuthType LONCAPA
Require valid-user
-PerlAuthzHandler Apache::lonacc
-SetHandler perl-script
-PerlHandler Apache::lonexturlcheck
-ErrorDocument 403 /adm/login
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
+PerlHandler Apache::lonexttool
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized
+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
@@ -457,6 +469,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
@@ -523,6 +623,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
@@ -566,12 +676,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
@@ -719,16 +829,6 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
-
-AuthType LONCAPA
-Require valid-user
-PerlAuthzHandler Apache::lonacc
-SetHandler perl-script
-PerlHandler Apache::admannotations
-ErrorDocument 403 /adm/login
-ErrorDocument 500 /adm/errorhandler
-
-
AuthType LONCAPA
Require valid-user
@@ -1336,7 +1436,7 @@ SetHandler perl-script
PerlHandler Apache::lonwishlistdisplay
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
-ErrorDocument 500 /adm/errorhandler
+ErrorDocument 500 /adm/errorhandler
@@ -1486,7 +1586,7 @@ AllowOverride None
# Allow uploaded files to be served
-Options FollowSymLinks
+Options Includes FollowSymLinks
AllowOverride None
Require all granted
@@ -1497,10 +1597,24 @@ AllowOverride None
+# Allow construction space files to be served
+
+
+Options Includes FollowSymLinks
+AllowOverride
+
+ Require all granted
+
+
+ order allow,deny
+ allow from all
+
+
+
# Yes to symbolic links and server-side includes
-Options FollowSymLinks
+Options Includes FollowSymLinks
AllowOverride None
Require all granted
@@ -1528,7 +1642,7 @@ Options ExecCGI FollowSymLinks
# Allow serving of files in prtspool
-Options FollowSymLinks
+Options Includes FollowSymLinks
AllowOverride None
Require all granted
@@ -1542,7 +1656,7 @@ AllowOverride None
# Allow serving of files in zipspool
-Options FollowSymLinks
+Options Includes FollowSymLinks
AllowOverride None
Require all granted
@@ -1556,7 +1670,7 @@ AllowOverride None
# Allow serving of files in captchaspool
-Options FollowSymLinks
+Options Includes FollowSymLinks
AllowOverride None
Require all granted
@@ -1607,9 +1721,8 @@ 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
PerlSetVar lonTabDir /home/httpd/lonTabs
PerlSetVar lonUsersDir /home/httpd/lonUsers
@@ -1640,7 +1753,7 @@ PerlSetVar lonBrowsDet explorer%m
PerlSetVar lonTextBrowsers windows\s+ce:lynx
PerlSetVar lonScansDir /home/httpd/scantron
PerlSetVar lonScriptTimeout 10
-PerlSetVar BugzillaHost https://bugs.loncapa.org/
+PerlSetVar BugzillaHost http://bugs.lon-capa.org/
PerlSetVar FAQHost http://help.lon-capa.org/
# -----------------------------------------------------------------------------
# NOTE: lonSqlAccess key is the password for the MySQL user
@@ -1680,6 +1793,7 @@ PerlSetVar lonCertificateDirectory /home
PerlSetVar lonnetCertificateAuthority loncapaCA.pem
PerlSetVar lonnetCertificate lonhostcert.pem
+PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem
#
# To generate the request for a certificate, and to negotiate the