--- loncom/loncapa_apache.conf 2010/05/11 23:41:04 1.181.2.4 +++ loncom/loncapa_apache.conf 2008/12/22 21:13:14 1.182 @@ -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.182 2008/12/22 21:13:14 raeburn Exp $ ## # @@ -51,16 +51,6 @@ PerlAuthenHandler Apache::checkauthen 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" - - AuthType LONCAPA @@ -111,6 +101,11 @@ PerlCleanupHandler Apache::lontokacc::re PerlCleanupHandler Apache::lonacc::cleanup + +SetHandler perl-script +PerlHandler Apache::lonpdfupload + + AuthType LONCAPA Require valid-user