--- loncom/loncapa_apache.conf 2010/08/20 20:33:24 1.185.8.3 +++ loncom/loncapa_apache.conf 2011/05/26 14:25:39 1.192.2.4 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.185.8.3 2010/08/20 20:33:24 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.192.2.4 2011/05/26 14:25:39 raeburn Exp $ ## # @@ -56,9 +56,10 @@ PerlAuthenHandler '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" @@ -357,7 +358,7 @@ PerlCleanupHandler Apache::lonindexer::c PerlCleanupHandler Apache::lonacc::cleanup - + SetHandler perl-script PerlHandler Apache::lontex @@ -406,7 +407,7 @@ SetHandler perl-script PerlHandler Apache::lonhomework - + SetHandler perl-script PerlHandler Apache::lonxml @@ -1235,6 +1236,15 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +PerlAccessHandler Apache::publiccheck +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonblockingstatus + + SetHandler perl-script PerlHandler Apache::lonerrorhandler @@ -1538,6 +1548,9 @@ PerlSetVar SSLEmail certificate@lon- #------------------------------------------------------------------------- +# ====================================== Include support for SSL rewrites + +Include conf/loncapa_rewrite.conf # ====================================== Include machine-specific configuration