--- loncom/loncapa_apache.conf 2010/12/05 18:27:23 1.190.4.3
+++ loncom/loncapa_apache.conf 2010/02/18 16:54:53 1.191
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.190.4.3 2010/12/05 18:27:23 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.191 2010/02/18 16:54:53 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
@@ -558,11 +564,6 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
-
-SetHandler perl-script
-PerlHandler Apache::lonwelcome
-
-
SetHandler perl-script
PerlHandler Apache::lonlogin
@@ -1284,6 +1285,7 @@ ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::coursecatalog
+PerlAccessHandler Apache::publiccheck
ErrorDocument 500 /adm/errorhandler
@@ -1537,7 +1539,8 @@ PerlSetVar SSLCAFile /usr/share/ssl/l
PerlSetVar SSLEmail certificate@lon-capa.org
#-------------------------------------------------------------------------
-PerlSetVar AnonymousSalt
+
+
# ====================================== Include machine-specific configuration