--- loncom/auth/lonlogin.pm 2006/08/18 17:44:44 1.77 +++ loncom/auth/lonlogin.pm 2006/08/18 20:24:53 1.78 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.77 2006/08/18 17:44:44 albertel Exp $ +# $Id: lonlogin.pm,v 1.78 2006/08/18 20:24:53 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -163,8 +163,7 @@ ENDFAILED my $userloadpercent=&Apache::lonnet::userload(); # ------------------------------------------------------- Do the load balancing - my $otherserver= - ($ENV{'SERVER_PORT'} == 443?'https://':'HTTP://').$host_name; + my $otherserver= &Apache::loncommon::absolute_url($host_name); my $firsturl= ($env{'request.firsturl'}?$env{'request.firsturl'}:$env{'form.firsturl'}); # ---------------------------------------- Are we access server and overloaded?