[squid-users] RE: squid will not refer index.html

From: Richard Conway <[email protected]>
Date: Wed, 19 Dec 2001 11:27:34 -0000

Further to my previous post. I have found that squid works fine with a
previous version of Tomcat (3.2.1). The problem appears to be specific to
the way Tomcat4 redirects the request.

In order to diagnose this I was hoping that someone could help me interpret
what I find in the squid log file - in particular the meaning of the 'FD nn'
messages I get.

Using the successful Tomcat 3.2.1 I see the following squid log...
---snip---
2001/12/19 10:58:24| The request GET http://cp1105:8080/ is ALLOWED, because
it matched 'all'
2001/12/19 10:58:24| carpSelectParent: CARP Calculating hash for
http://cp1105.vega.co.uk:8080/
2001/12/19 10:58:24| fwdServerClosed: FD 13 http://cp1105.vega.co.uk:8080/
2001/12/19 10:58:24| The request GET
http://cp1105.vega.co.uk:8080/index.html is ALLOWED, because it matched
'all'
2001/12/19 10:58:24| The request GET
http://cp1105.vega.co.uk:8080/tomcat.gif is ALLOWED, because it matched
'all'
2001/12/19 10:58:24| The request GET
http://cp1105.vega.co.uk:8080/tomcat-power.gif is ALLOWED, because it
matched all'
---snip---

Using the unsuccessful Tomcat 4 I see...
---snip---
2001/12/19 11:13:24| The request GET http://cp1105:8000/ is ALLOWED, because
it matched 'all'
2001/12/19 11:13:24| carpSelectParent: CARP Calculating hash for
http://cp1105.vega.co.uk:8000/
2001/12/19 11:13:24| fwdServerClosed: FD 10 http://cp1105.vega.co.uk:8000/
---snip---

What is the meaning of FD13 and FD10 in the above log messages.

Can anyone shed any light on this ?
Has anyone got Tomcat4 and squid working wrt. index.html redirection ?

Richard.

> -----Original Message-----
> From: Richard Conway
> Sent: Tuesday, December 18, 2001 12:49 PM
> To: 'squid-users@squid-cache.org'
> Subject: squid will not refer index.html
>
>
> I have a problem that if I access a URL which is a directory then the
> index.html page is not served as it should.
>
> Let me explain...
>
> I'm running a Tomcat 4 webserver on my machine. If I access it directly
> (not via squid) using http://myhost/ then I get the Tomcat welcome page
> which is actually http://myhost/index.html - some sort of referral has
> gone on here. I'm also running squid on my machine; if I direct the above
> request (http://myhost) through squid then I get no response. However if a
> explicitly type the full URL (http://myhost/index.html), directed through
> squid, then the page is returned fine.
>
> Is there a squid configuration option which affects how these referrals
> are handled ?
>
> For the record. I'm using NT4, Tomcat 4.0.1, squid v2.4 STABLE1 running in
> cygwin.
>
> Any advice would be much appreciated.
>
> Richard.
Received on Wed Dec 19 2001 - 04:27:42 MST

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