--- loncom/loncapa_apache.conf 2017/06/22 02:11:23 1.215.2.22.2.1 +++ loncom/loncapa_apache.conf 2020/09/10 21:16:17 1.215.2.27 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.22.2.1 2017/06/22 02:11:23 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.27 2020/09/10 21:16:17 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -131,6 +131,7 @@ ErrorDocument 500 /adm/errorhandler +Options +FollowSymLinks -Includes PerlAccessHandler Apache::lontokacc PerlCleanupHandler Apache::lontokacc::removefile PerlCleanupHandler Apache::lonacc::cleanup @@ -270,18 +271,17 @@ ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler - + AuthType LONCAPA Require valid-user -PerlAuthzHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::londatecheck -PerlHandler Apache::lonipcheck -PerlHandler Apache::lonexttool +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonexturlcheck +ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/notinit.html +ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler - + AuthType LONCAPA @@ -720,6 +720,16 @@ 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 @@ -1566,6 +1576,10 @@ AllowOverride None DirectoryIndex disabled + + Options +FollowSymLinks -Includes + + # ============================================================= Access Handlers # ------------------------------------------------- Allow server-status reports @@ -1600,6 +1614,7 @@ Options Indexes FollowSymLinks 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 @@ -1630,7 +1645,7 @@ PerlSetVar lonBrowsDet explorer%m PerlSetVar lonTextBrowsers windows\s+ce:lynx PerlSetVar lonScansDir /home/httpd/scantron PerlSetVar lonScriptTimeout 10 -PerlSetVar BugzillaHost http://bugs.lon-capa.org/ +PerlSetVar BugzillaHost https://bugs.loncapa.org/ PerlSetVar FAQHost http://help.lon-capa.org/ # ----------------------------------------------------------------------------- # NOTE: lonSqlAccess key is the password for the MySQL user