Do yourself a big favour and use something like curl. Telnet is a crappy way to test http. On Tue, Oct 13, 2009 at 1:19 PM, Kaya Saman <SamanKaya@xxxxxxxxxxxx> wrote: > Using host: hostname from telnet I get this: > > [code] > HTTP/1.0 400 Bad Request > Server: squid/2.6.STABLE15 > Date: Tue, 13 Oct 2009 12:17:34 GMT > Content-Type: text/html > Content-Length: 1186 > Expires: Tue, 13 Oct 2009 12:17:34 GMT > X-Squid-Error: ERR_INVALID_REQ 0 > X-Cache: MISS from NetraT1-Proxy > Via: 1.0 NetraT1-Proxy:80 (squid/2.6.STABLE15) > Proxy-Connection: close > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; > charset=iso-8859-1"> > <TITLE>ERROR: The requested URL could not be retrieved</TITLE> > <STYLE > type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE> > </HEAD><BODY> > <H1>ERROR</H1> > <H2>The requested URL could not be retrieved</H2> > <HR noshade size="1px"> > <P> > While trying to process the request: > <PRE> > host zeta-ray > > </PRE> > <P> > The following error was encountered: > <UL> > <LI> > <STRONG> > Invalid Request > </STRONG> > </UL> > > <P> > Some aspect of the HTTP Request is invalid. Possible problems: > <UL> > <LI>Missing or unknown request method > <LI>Missing URL > <LI>Missing HTTP Identifier (HTTP/1.0) > <LI>Request is too large > <LI>Content-Length missing for POST or PUT requests > <LI>Illegal character in hostname; underscores are not allowed > </UL> > <P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>. > > <BR clear="all"> > <HR noshade size="1px"> > <ADDRESS> > Generated Tue, 13 Oct 2009 12:17:34 GMT by NetraT1-Proxy > (squid/2.6.STABLE15) > </ADDRESS> > </BODY></HTML> > [/code] > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx