Why don't you read the docs over the ./conf/server.xml ?
There should be your answer ?

Thomas,


--
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Bruxelles
yahoo-id : smetsthomas
----- Original Message -----
From: "Anton Brazhnyk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: 15 February, 2002 8:20 AM
Subject: RE: How to redirect port 8080 to port 443?


> Hi,
>
> > -----Original Message-----
> > From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 14, 2002 6:06 PM
> > To: [EMAIL PROTECTED]
> > Subject: How to redirect port 8080 to port 443?
> >
> >
> > Greetings!
> >
> > I am moving from an insecure to a secure server for Tomcat.  Currently,
> > I have both ports 8080 (for http) and ports 443 (for https) enabled in
> > my server.xml.file.
> >
> > Now I have must remove port 8080 (insecure).
> >
> > Is there a way to redirect port 8080 to port 443 within server.xml?  Is
> > there an *easy* way? <G>  (i.e. the setup is currently very stable and
> > simple - I don't want to start trying to enable multiple virtual servers
> > or contexts or anything like that - just a simple port redirection (if
> > possible).
> >
>
> Do you want to remove it or redirect it?
> If you remove it you won't be able to access that port and thereof do
> redirections. All you need is to remove or comment out Connector
> with port="8080" attribute in server.xml
> If you want to redirect requests from 8080 to 443 you have to
> add/change the redirectPort attribute in that Connector and
> add some SecurityConstraints to web.xml in your application.
>
> These topics are covered in the SSL HOWTO of TC docs and
> in Servlet Specification (Security)
>
> > Thanks in advance for your assistance.
> >
> > -Richard
> >
> >
>
> Anton
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to