tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CAM <camc...@yahoo.com>
Subject [Dim Question] Redirecting GET http://blah.com/ resource -> GET /resource - Tomcat 4
Date Thu, 28 Feb 2002 18:39:35 GMT
Hello all,

I'm sure I'm missing something very basic here but I can't think what. I'm using 
a little proxy (HttpSniffer) to debug header and cookie info between my browser 
and a remote Tomcat 4-b6. I'm getting failures to requests (404's) when I go 
thru the proxy and I can see in my access logs that this is because the requests 
are arriving as:

192.x.x.x - - [28/Feb/2002:17:30:49 00] "GET 
http://my.host.com:8080/dms/servlet/dms HTTP/1.0" 404 263

instead of:

192.x.x.x - - [28/Feb/2002:17:24:16 00] "GET /dms/servlet/dms HTTP/1.1" 200 2294

Rather than rewrite httpsniffer, I suspect I need some form of redirect - 
besides, the sniffer works with other sites (e.g. Google). I haven't managed to 
dig out anything about redirection from the docs - there are a lot of facets to 
the information. Is redirection associated with the Engine? The connector?

So, an RTFM is probably deserved but a clue as to where would be tremendous.

cam



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message