--- loncom/auth/lonlogin.pm 2009/04/28 21:54:51 1.119 +++ loncom/auth/lonlogin.pm 2009/05/14 10:21:10 1.120 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.119 2009/04/28 21:54:51 tempelho Exp $ +# $Id: lonlogin.pm,v 1.120 2009/05/14 10:21:10 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -339,6 +339,15 @@ $r->print(<$jsh>); $r->print( '
'); +# +# If the loadbalancing yielded just http:// because perhaps there's no loadbalancing? +# then just us a relative link to authenticate: +# + +if ($otherserver eq "http://") { + $otherserver=""; +} + $r->print(<