--- loncom/loncapa_apache.conf 2010/09/12 22:47:04 1.190.4.1 +++ loncom/loncapa_apache.conf 2010/03/10 21:25:22 1.193 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.190.4.1 2010/09/12 22:47:04 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.193 2010/03/10 21:25:22 droeschl Exp $ ## # @@ -55,6 +55,12 @@ PerlSetVar lonOtherAuthen no PerlAuthenHandler 'sub { return OK }' +# Send proper expires header to avoid unnecessary HTTP request for static content + + ExpiresActive On + ExpiresDefault "access plus 12 hours" + + AuthType LONCAPA @@ -497,16 +503,6 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler - -AuthType LONCAPA -Require valid-user -PerlAuthzHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::lonremote -ErrorDocument 403 /adm/login -ErrorDocument 500 /adm/errorhandler - - AuthType LONCAPA Require valid-user @@ -1533,7 +1529,8 @@ PerlSetVar SSLCAFile /usr/share/ssl/l PerlSetVar SSLEmail certificate@lon-capa.org #------------------------------------------------------------------------- -PerlSetVar AnonymousSalt + + # ====================================== Include machine-specific configuration