version 1.115, 2011/06/12 14:18:09
|
version 1.116, 2011/08/09 01:27:42
|
Line 418 sub handler {
|
Line 418 sub handler {
|
if ($r->dir_config("lonBalancer") eq 'yes') { |
if ($r->dir_config("lonBalancer") eq 'yes') { |
my $otherserver = &Apache::lonnet::spareserver(30000,undef,1,$form{'udom'}); |
my $otherserver = &Apache::lonnet::spareserver(30000,undef,1,$form{'udom'}); |
if (!$otherserver) { |
if (!$otherserver) { |
$otherserver = &Apache::lonnet::choose_server($form{'udom'}); |
($otherserver) = &Apache::lonnet::choose_server($form{'udom'}); |
} |
} |
if ($otherserver) { |
if ($otherserver) { |
&success($r,$form{'uname'},$form{'udom'},$authhost,'noredirect',undef, |
&success($r,$form{'uname'},$form{'udom'},$authhost,'noredirect',undef, |