--- loncom/loncapa_apache.conf 2008/12/23 00:06:12 1.181.2.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.181.2.3 2008/12/23 00:06:12 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.191 2010/02/18 16:54:53 droeschl Exp $
##
#
@@ -52,7 +52,13 @@ PerlSetVar lonOtherAuthen no
#PerlWarn On
-PerlAuthenHandler 'sub { return OK }'
+PerlAuthenHandler 'sub { return OK }'
+
+
+# Send proper expires header to avoid unnecessary HTTP request for static content
+
+ ExpiresActive On
+ ExpiresDefault "access plus 12 hours"
@@ -105,6 +111,11 @@ PerlCleanupHandler Apache::lontokacc::re
PerlCleanupHandler Apache::lonacc::cleanup
+
+SetHandler perl-script
+PerlHandler Apache::lonpdfupload
+
+
AuthType LONCAPA
Require valid-user
@@ -339,7 +350,7 @@ PerlCleanupHandler Apache::lonindexer::c
PerlCleanupHandler Apache::lonacc::cleanup
-
+
SetHandler perl-script
PerlHandler Apache::lontex
@@ -388,6 +399,11 @@ SetHandler perl-script
PerlHandler Apache::lonhomework
+
+SetHandler perl-script
+PerlHandler Apache::lonxml
+
+
AuthType LONCAPA
Require valid-user
@@ -517,6 +533,17 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickuser
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -679,6 +706,17 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::courseprefs
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -712,6 +750,17 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonrequestcourse
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -1179,6 +1228,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
@@ -1227,6 +1285,7 @@ ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::coursecatalog
+PerlAccessHandler Apache::publiccheck
ErrorDocument 500 /adm/errorhandler
@@ -1378,6 +1437,7 @@ PerlSetVar lonIconsURL /adm/lonIc
PerlSetVar londPort 5663
PerlSetVar lonSysEMail korte@lite.msu.edu
PerlSetVar lonDaemons /home/httpd/perl
+PerlSetVar lonLib /home/httpd/lib
PerlSetVar lonSockDir /home/httpd/sockets
PerlSetVar lonSockCreate /home/httpd/sockets/common
PerlSetVar lonDocRoot /home/httpd/html