RE: [squid-users] strange problem with www.evangel.org.sg

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 7 Sep 2005 09:45:37 -0800

> > On 9/7/05, Tay Teck Wee <wolfpacks01@yahoo.com.sg>
> > wrote:
> > > Hi all,
> > >
> > > using squid, I am unable to access
> > www.evangel.org.sg
> > > but using NetCaches, there is no problem.
> > >
> > > Squid log entry:
> > > 1126063099.644 63 165.21.88.31 TCP_MISS/403
> > 606
> > > GET http://www.evangel.org.sg/ -
> > DIRECT/203.127.19.66
> > > text/html
> > >
> > >
> > --- Mark Elsen <mark.elsen@gmail.com> wrote:
> >
> > Http 403 means : forbidden.
> >
> > Does it work , from a browser on the squid box
> > (e.g.)
> >
> > M.
> >
>
> -----Original Message-----
> From: Tay Teck Wee [mailto:wolfpacks01@yahoo.com.sg]
> Sent: Wednesday, September 07, 2005 12:02 AM
> To: Mark Elsen
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] strange problem with www.evangel.org.sg
>
>
> The only installed browser is lynx. No problem with
> that.
>
> Also did this:
> [squid]$telnet evangel.org.sg 80
> Trying 203.127.19.66...
> Connected to evangel.org.sg (203.127.19.66).
> Escape character is '^]'.
> GET /index.html HTTP/1.0
>
> HTTP/1.1 200 OK
> Date: Wed, 07 Sep 2005 07:55:50 GMT
> Server: Apache/2.0.49 (Unix) DAV/2 mod_fastcgi/2.4.2
> mod_ssl/2.0.49 OpenSSL/0.9.6i
> ETag: "1d240-25f6-e7d24a80"
> Accept-Ranges: bytes
> Last-Modified: Wed, 07 Sep 2005 06:39:40 GMT
> Content-Length: 9724
> Content-Type: text/html; charset=ISO-8859-1
> ETag: "1d240-25fc-cf182300"
> Accept-Ranges: bytes
> Connection: close
> [truncated]
>
> I think the webserver is directing me to some
> directory which should not be accessed(using
> http://www.evangel.org.sg). Thus the reason for the
> 403 error. But why is this happening only to Squid and
> not to NetCaches? But when using just the IP
> address(203.127.19.66) or w/o the www(as in
> http://evangel.org.sg), its ok.
>
> Regards,
> Tay
>

The whole thread about this webserver being broken is a red herring. The meat of the problem is Squid can surf to this site via the IP address, or the FQDN without the www. Read up on ACLs (http://www.squid-cache.org/Doc/FAQ/FAQ-10.html), use the debugging options and see what that tells you. I'd have to guess the problem lies with your squid.conf.

Chris
Received on Wed Sep 07 2005 - 11:45:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT