--- loncom/auth/lonlogin.pm 2002/09/17 19:45:11 1.22 +++ loncom/auth/lonlogin.pm 2002/10/14 16:14:58 1.25 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.22 2002/09/17 19:45:11 matthew Exp $ +# $Id: lonlogin.pm,v 1.25 2002/10/14 16:14:58 bowersj2 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -77,7 +77,7 @@ sub handler { my $otherserver='http://'.$ENV{'SERVER_NAME'}; my $firsturl=$ENV{'request.firsturl'}; # ---------------------------------------- Are we access server and overloaded? - if (($loadpercent>100.0)) { + if (($role eq 'access') && ($loadpercent>100.0)) { $otherserver=Apache::lonnet::spareserver($loadpercent); } @@ -335,6 +335,11 @@ $domainlogo + + ENDDOCUMENT } $r->print('');