--- loncom/loncapa_apache.conf 2010/08/10 14:30:28 1.197 +++ 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.197 2010/08/10 14:30:28 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 @@ -636,16 +648,6 @@ PerlHandler Apache::lonspeller ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler - - -AuthType LONCAPA -Require valid-user -PerlAuthzHandler Apache::lonacc -SetHandler perl-script -PerlHandler Apache::admbookmarks -ErrorDocument 403 /adm/login -ErrorDocument 500 /adm/errorhandler - AuthType LONCAPA