--- loncom/auth/lonlogin.pm 2003/04/02 14:57:32 1.39 +++ loncom/auth/lonlogin.pm 2003/04/03 21:53:51 1.40 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.39 2003/04/02 14:57:32 www Exp $ +# $Id: lonlogin.pm,v 1.40 2003/04/03 21:53:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -66,8 +66,11 @@ sub handler { } my $fullgraph=($ENV{'form.interface'} ne 'textual'); - - my $iconpath= 'http://'.$ENV{'HTTP_HOST'}.':8080'. + my $port_to_use=$r->dir_config('lonhttpdPort'); + if (!defined($port_to_use)) { + $port_to_use='8080'; + } + my $iconpath= 'http://'.$ENV{'HTTP_HOST'}.':'.$port_to_use. $r->dir_config('lonIconsURL'); my $domain = $r->dir_config('lonDefDomain'); my $role = $r->dir_config('lonRole');