benjamin mccall wrote:
That's weird. Because my patch doesn't solve the problem, it only asserts if the default servername wasn't found. Could it be a temporary glitch on your system? What happens if you reverse the patch and try again? Does it still fail as before?Thanks for the quick reply on this one, Stas. I ran the script, 'localhost' resulted. I applied the patch as you advised, and it seems as though (i'm building as i composed this) resolved the issue absolutely. Thanks a heap!
could you point me to some documentation that my relate to this problem?
i'm quite new to perl. i surmise it was network-related from some of the
modules and patch work applied.
The problem was at Apache-Test/lib/Apache/TestConfig.pm:
sub our_remote_addr { my $self = shift; my $name = $self->default_servername; $remote_addr ||= Socket::inet_ntoa((gethostbyname($name))[-1]); } $name was undef. Socket::inet_ntoa() has died because of that. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com