> From: reym [mailto:[EMAIL PROTECTED] > Subject: .htaccess + Tomcat > > I have installed SSL on the server, and would like > to use a .htaccess file so that when a user types in > http://www.mywebsite.com he/ she will be redirected > to https://www.mywebsite.com automatically.
You need to become familiar with the servlet spec: http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index.html In particular, look at section 12.7 for a <transport-guarantee> of CONFIDENTIAL. If you want all of your webapps to use HTTPS, you can put the <transport-guarantee> in conf/web.xml rather than in the WEB-INF/web.xml of each of the individual webapps. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]