in reply to using Net::Telnet to test Apache

What string do you get returned when you issue the following command
telent yourhost.dom 80
I suspect that as you are waiting for a string "HTTP" that this is the reason
your request is timing out

Replies are listed 'Best First'.
RE: Re: using Net::Telnet to test Apache
by meonkeys (Chaplain) on Nov 14, 2000 at 02:51 UTC
    Yes... you are exactly right. after commenting out the line
    print $t->waitfor(String=>"HTTP", Timeout=>5 );

    It works, and I can now get a debugging log. Here's what I see from a normal Telnet...
    [meonkeys@serendipity scripts]$ telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'.


    Thank you kindly for your help.