--- loncom/loncapa_apache.conf 2015/12/03 20:40:16 1.236 +++ loncom/loncapa_apache.conf 2016/07/01 20:00:07 1.247 @@ -2,7 +2,7 @@ ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -# $Id: loncapa_apache.conf,v 1.236 2015/12/03 20:40:16 damieng Exp $ +# $Id: loncapa_apache.conf,v 1.247 2016/07/01 20:00:07 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" @@ -270,6 +270,30 @@ 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 +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonplacementtest +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/notinit.html +ErrorDocument 500 /adm/errorhandler + + AuthType LONCAPA Require valid-user @@ -445,18 +469,37 @@ SetHandler perl-script PerlHandler Apache::lonxml - + AuthType LONCAPA Require valid-user PerlAuthzHandler Apache::loncacc -SetHandler perl-script 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/unauthorized +ErrorDocument 500 /adm/errorhandler + + + +SetHandler perl-script +PerlHandler Apache::daxepage + + + +SetHandler perl-script +PerlHandler Apache::daxepage + + + SetHandler perl-script PerlHandler Apache::daxeopen @@ -466,10 +509,17 @@ SetHandler perl-script PerlHandler Apache::daxeopen + +SetHandler perl-script +PerlHandler Apache::daxeopen + + + RewriteEngine on - RewriteRule ^/daxeopen/(.*) /$1 + RewriteRule /daxeopen/(.*) /$1 + AuthType LONCAPA @@ -477,11 +527,17 @@ Require valid-user PerlAuthzHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::daxesave -ErrorDocument 403 /adm/login + + + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::loncoursepub ErrorDocument 404 /adm/notfound.html -ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler - + AuthType LONCAPA