Re: using Net::Telnet to test a http server

2002-11-25 Thread david
Admin-Stress wrote: > Hi David, > > Thanks, I followed your suggestion, and it's working fine now. > > About this test, what I need is to test the http server it self, not a > website. > > I meant, in one http server, can host more than one website (name based > virtual hosting?). So, if www.go

Re: using Net::Telnet to test a http server

2002-11-25 Thread Admin-Stress
Hi David, Thanks, I followed your suggestion, and it's working fine now. About this test, what I need is to test the http server it self, not a website. I meant, in one http server, can host more than one website (name based virtual hosting?). So, if www.google.com and www.google.net in one htt

Re: using Net::Telnet to test a http server

2002-11-25 Thread david
Admin-Stress wrote: > Hi, I wrote a script to test if a http server is OK. > My method is : > - telnet to por 80 > - send any text > > If the http server is OK, it will return "some" text, and should contain > string > > So, I assume, if I can catch , then my http server is OK. > > Here is my