version 1.158.2.10, 2020/10/24 19:49:06
|
version 1.158.2.11, 2020/10/26 02:00:13
|
Line 372 sub handler {
|
Line 372 sub handler {
|
next if ($hostid eq $lonhost); |
next if ($hostid eq $lonhost); |
my $hostname = &Apache::lonnet::hostname($hostid); |
my $hostname = &Apache::lonnet::hostname($hostid); |
next if (($hostname eq '') || ($spareservers{$hostname})); |
next if (($hostname eq '') || ($spareservers{$hostname})); |
|
$spareservers{$hostname} = 1; |
my $protocol = $Apache::lonnet::protocol{$hostid}; |
my $protocol = $Apache::lonnet::protocol{$hostid}; |
$protocol = 'http' if ($protocol ne 'https'); |
$protocol = 'http' if ($protocol ne 'https'); |
$spares.='<br /><a href="'.$protocol.'://'. |
$spares.='<br /><a href="'.$protocol.'://'. |