>>>>> [EMAIL PROTECTED]:

> Yes, I use struts. It used to automatically redirect http request to
> https with https setup in ssl.conf. After I upgraded to b3, 4.1.18,
> 2.0.44, http is http and https is https.

What I've done in Struts, is to subclass ActionServlet, replace the
doGet() and doPost() methods, and in the replaced methods test if
HttpServletRequest.isSecure() is true or false, and if false, redirect
to an HTTPS URL.

This worked with Tomcat 3.2 and the Jk connector to apache, but
didn't work with Tomcat 4.1.12 and the Coyote connector (I had to use
the Jk connector), but it now works with tomcat 4.1.18 and the Coyote
connector (which seems to be able to handle a lot more traffic than
the okd Jk connector).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to