--- loncom/loncapa_apache.conf 2016/11/30 02:32:47 1.215.2.19 +++ loncom/loncapa_apache.conf 2020/09/15 13:43:31 1.215.2.22.6.1 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.19 2016/11/30 02:32:47 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.22.6.1 2020/09/15 13:43:31 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 @@ -149,6 +150,10 @@ ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler + + Options +FollowSymLinks -Includes + + AuthType LONCAPA Require valid-user @@ -1464,7 +1469,7 @@ AllowOverride None # Allow uploaded files to be served -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1475,24 +1480,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 @@ -1520,7 +1511,7 @@ Options ExecCGI FollowSymLinks # Allow serving of files in prtspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1534,7 +1525,7 @@ AllowOverride None # Allow serving of files in zipspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1548,7 +1539,7 @@ AllowOverride None # Allow serving of files in captchaspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted