--- loncom/loncapa_apache.conf 2016/07/01 20:00:07 1.247 +++ loncom/loncapa_apache.conf 2017/02/23 21:32:15 1.252 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.247 2016/07/01 20:00:07 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.252 2017/02/23 21:32:15 damieng Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -504,6 +504,16 @@ SetHandler perl-script PerlHandler Apache::daxeopen + +SetHandler perl-script +PerlHandler Apache::daxeopen + + + +SetHandler perl-script +PerlHandler Apache::daxeopen + + SetHandler perl-script PerlHandler Apache::daxeopen @@ -521,6 +531,13 @@ PerlHandler Apache::daxeopen + + + RewriteEngine on + RewriteRule /daxeopen/(.*) /$1 + + + AuthType LONCAPA Require valid-user @@ -1406,6 +1423,7 @@ PerlHandler Apache::groupsort PerlCleanupHandler Apache::groupsort::cleanup PerlCleanupHandler Apache::lonacc::cleanup ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles ErrorDocument 500 /adm/errorhandler @@ -1440,6 +1458,17 @@ SetHandler perl-script PerlHandler Apache::lonblockingstatus + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonaccesstimes +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + SetHandler perl-script PerlHandler Apache::lonerrorhandler @@ -1763,6 +1792,7 @@ PerlSetVar lonCertificateDirectory /home PerlSetVar lonnetCertificateAuthority loncapaCA.pem PerlSetVar lonnetCertificate lonhostcert.pem +PerlSetVar lonnetHostnameCertificate lonhostnamecert.pem # # To generate the request for a certificate, and to negotiate the