tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Köhler <skoeh...@upb.de>
Subject Strange redirects with Apache 2.0, mod_jk and Tomcat 5.5
Date Thu, 11 Aug 2005 03:35:21 GMT
Hi,

often, Firefox tellst me, that the redirect limit is execeeded when
surfing one of my pages.

So i tried wget, and look at the result:

$ LANG=C wget www.mysite.com
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Resolving www.mysite.com... 80.70.176.140
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com/html/index.jsp [following]
--05:29:04--  http://www.mysite.com/html/index.jsp
           => `index.jsp.29'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com/html/index.jsp [following]
--05:29:04--  http://www.mysite.com/html/index.jsp
           => `index.jsp.29'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:04--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:05--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com/html/index.jsp [following]
--05:29:05--  http://www.mysite.com/html/index.jsp
           => `index.jsp.29'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com [following]
--05:29:05--  http://www.mysite.com/
           => `index.html.1'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.mysite.com/html/index.jsp [following]
--05:29:05--  http://www.mysite.com/html/index.jsp
           => `index.jsp.29'
Connecting to www.mysite.com[80.70.176.140]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>
           ] 24,409        --.--K/s

05:29:05 (216.70 KB/s) - `index.jsp.29' saved [24409]




That's no joke! (www.mysite.com is a replacement for the real-website).
Look at the redirects! he's even jumping to /html/index.jsp - and for
some reason, tomcat redirects back to / - and than back again to
/html/index.jsp. That absolutly makes no sense! /index.jsp contains a
simple redirect - and /html/index.jsp ist a simple pain.

I've got the impression, that Tomcat redirects the browser to request a
page again. I don't know why, but perhaps he does that while he's
compiling the page.

Does anybody think of anything that causes this?
(except for buggy /index.jsp and /html/index.jsp - which is not the
case, since they used to work with tomcat 4.1)

Thx
  Sven

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message