You need to check out the code as in <http://tomcat.apache.org/svn.html>
and build Tomcat yourself.  The CoyoteConnector has a new redirectPort
option that works like in TC 4.x+.

> -----Original Message-----
> From: William Chu [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 04, 2006 3:59 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: How do I direct all http requests to Https
> 
> Thank you Bill,
> 
> I am using 3.3.1 . What is the SVN trunk? And how do I do this?
> 
> Thank you
> Will
> 
> On 8/4/06, Bill Barker <[EMAIL PROTECTED]> wrote:
> >  With the TC 3.3 line, the auto-redirect is only 
> implemented in the SVN
> > trunk.
> >
> > > -----Original Message-----
> > > From: William Chu [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 04, 2006 1:08 PM
> > > To: Tomcat Users List; [EMAIL PROTECTED]
> > > Subject: Re: How do I direct all http requests to Https
> > >
> > > Hi Filip,
> > >
> > > Thank you for the help. Much appreciated. However, when I add the
> > > security constraint to my web.xml, I do not get redirected to the
> > > https url. I get the http url. Any ideas?
> > >
> > > Thank you,
> > > Will
> > >
> > >
> > > <?xml version="1.0" encoding="ISO-8859-1"?>
> > > <webapps>
> > >     <!-- Special rules for the admin webapplication -->
> > >
> > >     <Context path="/Web"
> > >              docBase="webapps/Web"
> > >              reloadable="false"
> > >              trusted="true" >
> > >     </Context>
> > >     <Context path=""
> > >              docBase="webapps/ROOT"
> > >              reloadable="false"
> > >              trusted="true" >
> > >     </Context>
> > >
> > >      <security-constraint>
> > >           <user-data-constraint>
> > >                
> <transport-guarantee>CONFIDENTIAL</transport-guarantee>
> > >           </user-data-constraint>
> > >      </security-constraint>
> > > </webapps>
> > >
> > >
> > > On 8/4/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> > > > I just responded to this yesterday,
> > > >
> > > > web.xml for your web-application
> > > >
> > > > http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727
> > > >
> > > > user-data-constraint & CONFIDENTIAL
> > > >
> > > > Filip
> > > >
> > > > William Chu wrote:
> > > > > How do I direct a user to the https url when they use the
> > > http url?
> > > > >
> > > > > i.e. http://<url> is directed to https://<url>
> > > > >
> > > > >
> > > 
> ---------------------------------------------------------------------
> > > > > To start a new topic, e-mail: users@tomcat.apache.org
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > 
> ---------------------------------------------------------------------
> > > > To start a new topic, e-mail: users@tomcat.apache.org
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
> >
> >
> > This message is intended only for the use of the person(s) 
> listed above as the intended recipient(s), and may contain 
> information that is PRIVILEGED and CONFIDENTIAL.  If you are 
> not an intended recipient, you may not read, copy, or 
> distribute this message or any attachment. If you received 
> this communication in error, please notify us immediately by 
> e-mail and then delete all copies of this message and any attachments.
> >
> > In addition you should be aware that ordinary (unencrypted) 
> e-mail sent through the Internet is not secure. Do not send 
> confidential or sensitive information, such as social 
> security numbers, account numbers, personal identification 
> numbers and passwords, to us via ordinary (unencrypted) e-mail.
> >
> >
> > 
> ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication 
in error, please notify us immediately by e-mail and then delete all copies of 
this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through 
the Internet is not secure. Do not send confidential or sensitive information, 
such as social security numbers, account numbers, personal identification 
numbers and passwords, to us via ordinary (unencrypted) e-mail.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to