Re: [squid-users] Access http server

From: Eicke <[email protected]>
Date: Fri, 7 Nov 2003 10:57:28 -0200

I trying to telnet port 80 and result is following:

HTTP/1.0 400 Bad Request
Server: Squid/2.4.STABLE7
Mime-Version: 1.0
Date: Fri, 07 Nov 2003 11:54:55 GMT
Content-Type: text/html
Content-Length: 841
Expires: Fri, 07 Nov 2003 11:54:55 GMT
X-Squid-Error: ERR_INVALID_REQ 0
X-Cache: MISS from 192.168.2.1
Proxy-Connection: close

<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to process the request:
<PRE>
                                      &# 3;

</PRE>
      <P>
         The following error was encountered:
                                             <UL>
                                                 <LI>
                                                     <STRONG>
                                                             Invalid Request

</ST
RONG>
     </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
req
uests
     <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=1>
                    Generated Fri, 07 Nov 2003 11:54:55 GMT by
192.168.2.1(Squid/2.4.STABLE7)
                       </BODY></HTML>

Could you help me?
----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "Eicke" <eick.jac@terra.com.br>
Cc: <squid-users@squid-cache.org>
Sent: Thursday, November 06, 2003 6:10 PM
Subject: Re: [squid-users] Access http server

> On Thu, 6 Nov 2003, Eicke wrote:
>
> > 1068132264.745 3 192.168.5.9 TCP_MISS/503 1011 GET http://192.168.2.1/ -
> > NONE/- -
>
> This indicates your Squid could not reach the requested server. It is not
> an access control problem within Squid.
>
> Can you from the Squid server connect to the 192.168.2.1 server on port
> 80?
>
> telnet 192.168.2.1 80
> GET / HTTP/1.0
> [blank line]
>
> If this does not work from the Squid server there is no chance Squid
> running on the Squid server will be able to do the same..
>
> Regards
> Henrik
>
>
>
Received on Fri Nov 07 2003 - 05:59:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:11 MST