Thank you for the help, but I still don't quite understand.

What is SVN? Are these modified versions of tomcat?

I have been doing some digging.

This is what I gather

In order to get redirected to the https url from the http url:

I need to modify the server.xml to include the redirectPort in the
HttpConnector for port 8080 to point to 8443, as well the web.xml
security settings so that transport-guarantee is CONFIDENTIAL.

Are you saying this doesn't apply to Tomcat 3.3.1?

What would downloading a SVN tomcat do for me?


Here is a portion of my server.xml

:  <Http10Connector   port="80"
                           secure="false"
                           maxThreads="20"
                           maxSpareThreads="2"
                           minSpareThreads="1"
                          redirectPort="443" />


Here is a portion of my webapp.xml

 <security-constraint>
     <web-resource-collection>
         <web-resource-name>Automatic SSL Forwarding</web-resource-name>
         <url-pattern>/*</url-pattern>
     </web-resource-collection>
        <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
   </security-constraint>


On 8/4/06, Bill Barker <[EMAIL PROTECTED]> wrote:
 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