--- loncom/loncapa_apache.conf 2010/08/24 09:11:35 1.198 +++ loncom/loncapa_apache.conf 2011/01/17 20:17:58 1.200 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.198 2010/08/24 09:11:35 wenzelju Exp $ +## $Id: loncapa_apache.conf,v 1.200 2011/01/17 20:17:58 www Exp $ ## # @@ -59,6 +59,7 @@ PerlAuthenHandler 'sub { return OK }' ExpiresActive On ExpiresDefault "access plus 12 hours" + Header set Cache-Control "public, no-transform" @@ -467,6 +468,17 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::lonsearchcourse +ErrorDocument 403 /adm/login +ErrorDocument 500 /adm/errorhandler + + + AuthType LONCAPA Require valid-user