As far as I can tell, Tomcat 3.2.1 *is* doing a redirect.
Two things draw me to this conclusion:

1. The squid log appears to indicate a GET...
---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---

2. The browser address box shows http://cp1105.vega.co.uk:8080/index.html
even though index.html was not explicitly asked for.

Just incase there are any squid experts out there, here is the squid log I
get for the failed Tomcat4 behaviour...
---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---

I don't know the difference between FD13 and FD10 but clearly the two
Tomcats are behaving differently.

Richard.

-----Original Message-----
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 10:12 AM
To: Tomcat Users List
Subject: AW: Tomcat4 index.html redirection problem - different to 3.2.x


AFAIK tomcat 3.x didn't do a HTTP redirect but served
the file direct. Tomcat 4 sends a HTTP redirect to the 
file. That might explain the cause for your symtoms.

Why that confuses your squid in not clear to me.
Your description sounds as if the squid doesn't
forward the redirect response to the browser.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to