--- loncom/loncapa_apache.conf 2017/02/23 21:32:15 1.252 +++ loncom/loncapa_apache.conf 2017/12/07 15:21:25 1.259 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.252 2017/02/23 21:32:15 damieng Exp $ +# $Id: loncapa_apache.conf,v 1.259 2017/12/07 15:21:25 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -270,7 +270,7 @@ ErrorDocument 406 /adm/notinit.html ErrorDocument 500 /adm/errorhandler - + AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::lonacc @@ -469,7 +469,7 @@ SetHandler perl-script PerlHandler Apache::lonxml - + AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::loncacc @@ -479,6 +479,12 @@ ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc + + AuthType LONCAPA Require valid-user @@ -509,12 +515,7 @@ SetHandler perl-script PerlHandler Apache::daxeopen - -SetHandler perl-script -PerlHandler Apache::daxeopen - - - + SetHandler perl-script PerlHandler Apache::daxeopen @@ -752,6 +753,11 @@ SetHandler perl-script PerlHandler Apache::lonlogin + +SetHandler perl-script +PerlHandler Apache::ltiauth + + PerlAccessHandler Apache::publiccheck AuthType LONCAPA @@ -1585,7 +1591,7 @@ AllowOverride None # Allow uploaded files to be served -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1596,24 +1602,10 @@ 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 Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1641,7 +1633,7 @@ Options ExecCGI FollowSymLinks # Allow serving of files in prtspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1655,7 +1647,7 @@ AllowOverride None # Allow serving of files in zipspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1669,7 +1661,7 @@ AllowOverride None # Allow serving of files in captchaspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1738,6 +1730,7 @@ PerlSetVar lonIncludes /home/http PerlSetVar lonZipDir /home/httpd/zipspool PerlSetVar lonCaptchaDir /home/httpd/captchaspool PerlSetVar lonCaptchaDb /home/httpd/captchadb +PerlSetVar lonLTIDir /home/httpd/lonLTItmp PerlSetVar lonFontsDir /home/httpd/html/adm/fonts # & separated list of % separated fields in order of # - internal name to call it,