--- loncom/loncapa_apache.conf 2017/05/11 23:34:23 1.215.2.20 +++ loncom/loncapa_apache.conf 2017/06/22 02:11:23 1.215.2.22.2.1 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.20 2017/05/11 23:34:23 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.22.2.1 2017/06/22 02:11:23 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -270,6 +270,19 @@ 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 +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -1464,7 +1477,7 @@ AllowOverride None # Allow uploaded files to be served -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1478,7 +1491,7 @@ AllowOverride None # Yes to symbolic links and server-side includes -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1506,7 +1519,7 @@ Options ExecCGI FollowSymLinks # Allow serving of files in prtspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1520,7 +1533,7 @@ AllowOverride None # Allow serving of files in zipspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted @@ -1534,7 +1547,7 @@ AllowOverride None # Allow serving of files in captchaspool -Options Includes FollowSymLinks +Options FollowSymLinks AllowOverride None Require all granted