--- loncom/loncapa_apache.conf 2009/09/25 13:51:31 1.188
+++ loncom/loncapa_apache.conf 2010/02/22 22:53:40 1.192
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.188 2009/09/25 13:51:31 droeschl Exp $
+## $Id: loncapa_apache.conf,v 1.192 2010/02/22 22:53:40 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
@@ -344,7 +350,7 @@ PerlCleanupHandler Apache::lonindexer::c
PerlCleanupHandler Apache::lonacc::cleanup
-
+
SetHandler perl-script
PerlHandler Apache::lontex
@@ -393,7 +399,7 @@ SetHandler perl-script
PerlHandler Apache::lonhomework
-
+
SetHandler perl-script
PerlHandler Apache::lonxml
@@ -1279,6 +1285,7 @@ ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::coursecatalog
+PerlAccessHandler Apache::publiccheck
ErrorDocument 500 /adm/errorhandler