--- loncom/lonnet/perl/lonnet.pm 2002/05/16 20:25:12 1.221 +++ loncom/lonnet/perl/lonnet.pm 2002/05/17 14:03:04 1.223 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.221 2002/05/16 20:25:12 matthew Exp $ +# $Id: lonnet.pm,v 1.223 2002/05/17 14:03:04 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -491,7 +491,6 @@ sub homeserver { next if (exists($badhomecache{$index}->{$tryserver})); if ($hostdom{$tryserver} eq $udom) { my $answer=reply("home:$udom:$uname",$tryserver); - my @tmp =keys(%{$badhomecache{$index}}); if ($answer eq 'found') { $homecache{$index}=$tryserver; return $tryserver; @@ -2805,12 +2804,12 @@ sub goodbye { } BEGIN { -# ------------------------------------------- Read access.conf and loncapa.conf +# ---------------------------------- Read loncapa_apache.conf and loncapa.conf # (eventually access.conf will become deprecated) unless ($readit) { { - my $config=Apache::File->new("/etc/httpd/conf/access.conf"); + my $config=Apache::File->new("/etc/httpd/conf/loncapa_apache.conf"); while (my $configline=<$config>) { if ($configline =~ /^[^\#]*PerlSetVar/) {