--- loncom/loncapa_apache.conf 2017/02/23 21:32:15 1.252 +++ loncom/loncapa_apache.conf 2017/06/06 13:37:04 1.257 @@ -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.257 2017/06/06 13:37:04 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 @@ -1585,7 +1586,7 @@ AllowOverride None # Allow uploaded files to be served -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1596,24 +1597,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 +1628,7 @@ Options ExecCGI FollowSymLinks # Allow serving of files in prtspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1655,7 +1642,7 @@ AllowOverride None # Allow serving of files in zipspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1669,7 +1656,7 @@ AllowOverride None # Allow serving of files in captchaspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted