--- loncom/loncapa_apache.conf 2010/05/11 23:41:04 1.181.2.4 +++ loncom/loncapa_apache.conf 2009/04/13 20:42:28 1.185 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.181.2.4 2010/05/11 23:41:04 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.185 2009/04/13 20:42:28 raeburn Exp $ ## # @@ -52,13 +52,7 @@ PerlSetVar lonOtherAuthen no #PerlWarn On -PerlAuthenHandler 'sub { return OK }' - - -# Send proper expires header to avoid unnecessary HTTP request for static content - - ExpiresActive On - ExpiresDefault "access plus 12 hours" +PerlAuthenHandler 'sub { return OK }' @@ -111,6 +105,11 @@ PerlCleanupHandler Apache::lontokacc::re PerlCleanupHandler Apache::lonacc::cleanup + +SetHandler perl-script +PerlHandler Apache::lonpdfupload + + AuthType LONCAPA Require valid-user @@ -394,6 +393,11 @@ SetHandler perl-script PerlHandler Apache::lonhomework + +SetHandler perl-script +PerlHandler Apache::lonxml + + AuthType LONCAPA Require valid-user @@ -685,6 +689,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 @@ -1384,6 +1399,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