> From: reym [mailto:[EMAIL PROTECTED] > Subject: Re: .htaccess + Tomcat > > So do i define the redirect attrbute in the SSL part or in > the non-SSL part of the server.xml document? Please advise.
Read the doc for redirectPort at: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html "If this Connector is supporting non-SSL requests, and a request is received for which a matching <security-constraint> requires SSL transport, Catalina will automatically redirect the request to the port number specified here." It would be a bit silly to have the port 443 <Connector> redirect to port 443, don't you think? You need it on the port 80 <Connector> so it has some idea of what to do with a request for CONFIDENTIAL traffic. - 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]