I'm quite sure: in one case I explicitly do a sendRedirect("newurl") from
within a servlet.
Furthermore, the response code is 302, which is a temporary redirection."Jonathan Soons" <[EMAIL PROTECTED]> on 18/09/2002 15.45.03 Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject: RE: Redirect not working Are you sure that is a Redirect? Redirect requires /path -> URL. Yours looks like an Alias. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 7:12 AM To: [EMAIL PROTECTED] Subject: Redirect not working Hi all. My configuration is: Apache 2.0.35 and Tomcat 4.0.3 (or 4.0.4, same behaviour), with mod_webapp and warp connector. Solaris 8, jdk 1.4.0. If I deploy "examples" webapp and access it through Tomcat's standalone listener (port 8080) everything works ok. When I access it through Apache, it works well until I find some kind of redirection (ie /examples/ -> /examples/index.html), then I get a page with the message: Apache Tomcat/4.0.3 -HTTP Status 302 - Moved Temporarily but redirection is NOT followed by the browser (I've tried various versions of IE, Netscape, Mozilla...). If I try to connect using telnet, the response with port 8080 is: HTTP/1.1 302 Moved Temporarily while through Apache is: HTTP/1.1 Moved Temporarily Nevertheless, in access.log of Apache the status code for my request is correctly set to 302. Same behaviour if I do a sendRedirect from within a servlet or jsp, redirecting to another servlet (no static content at all). Can anybody help me? TIA, Carlo -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> Carlo Montanari Sysadm Unix office T-Systems Italia debis IT Services Italia S.p.A. Via degli Ontani, 25 36100 - Vicenza Phone: +39 0444 558355 Fax: +39 0444 558352 Mobile: +39 348 4530249 e-mail: [EMAIL PROTECTED] Internet: http://www.t-systems.it -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
