--- loncom/loncapa_apache.conf 2019/02/06 22:19:37 1.215.2.22.2.2 +++ loncom/loncapa_apache.conf 2020/09/04 19:39:42 1.215.2.26 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.22.2.2 2019/02/06 22:19:37 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.26 2020/09/04 19:39:42 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -270,18 +270,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 +719,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 @@ -1441,16 +1450,7 @@ SetHandler perl-script PerlHandler Apache::spellcheck - -AuthType LONCAPA -Require valid-user -PerlAuthzHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::lontiny -ErrorDocument 403 /adm/login -ErrorDocument 406 /adm/roles -ErrorDocument 500 /adm/errorhandler - + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -1609,6 +1609,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 @@ -1639,7 +1640,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