--- loncom/loncapa_apache.conf 2024/02/28 19:33:07 1.215.2.30.2.7 +++ loncom/loncapa_apache.conf 2024/02/28 19:41:54 1.215.2.30.2.8 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.215.2.30.2.7 2024/02/28 19:33:07 raeburn Exp $ +# $Id: loncapa_apache.conf,v 1.215.2.30.2.8 2024/02/28 19:41:54 raeburn Exp $ # # LON-CAPA Section (extensions to httpd.conf daemon configuration) @@ -68,7 +68,7 @@ PerlAuthzHandler 'sub { return OK }' # Send proper expires header to avoid unnecessary HTTP request for static content - + ExpiresActive On ExpiresDefault "access plus 12 hours" Header set Cache-Control "public, no-transform" @@ -485,6 +485,111 @@ SetHandler perl-script PerlHandler Apache::lonxml + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::loncacc +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::loncacc + + + +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + + +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +ErrorDocument 403 /adm/login +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + + +SetHandler perl-script +PerlHandler Apache::daxepage + + + +SetHandler perl-script +PerlHandler Apache::daxepage + + + +SetHandler perl-script +PerlHandler Apache::daxeopen + + + +SetHandler perl-script +PerlHandler Apache::daxeopen + + + +SetHandler perl-script +PerlHandler Apache::daxeopen + + + +SetHandler perl-script +PerlHandler Apache::daxeopen + + + + + RewriteEngine on + RewriteRule /daxeopen/(.*) /$1 + + + + + + RewriteEngine on + RewriteRule /daxeopen/(.*) /$1 + + + + + + RewriteEngine on + RewriteRule /daxeopen/(.*) /$1 + + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::daxesave + + AuthType LONCAPA Require valid-user @@ -1544,7 +1649,6 @@ SetHandler perl-script PerlHandler Apache::spellcheck - AuthType LONCAPA Require valid-user