tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steph Richardson" <st...@kvasar.com>
Subject RE: redirect port 8080 to 443
Date Mon, 13 Oct 2003 20:56:24 GMT
Can't think why this is still a problem ( it definitely works for me ) , other than a simple
one of URL patterns.
Does the URI "/secure" match the pattern "/secure/*", is there a default document there which
would cause a redirect that is
affecting this.
What happens when you try going to http://localhost/secure/somethingelse


> -----Original Message-----
> From: Twan Munster [mailto:t.munster@emaxx.nl]
> Sent: Monday, October 13, 2003 6:17 AM
> To: Tomcat Users List
> Subject: Re: redirect port 8080 to 443
>
>
> thnx for comment, but it didn't work
> I still can connect to http://localhost:8080/secure/
>
> Twan
> ----- Original Message -----
> From: "Steph Richardson" <steph@kvasar.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Sunday, October 12, 2003 5:17 PM
> Subject: RE: redirect port 8080 to 443
>
>
> >
> > You can have tomcat automatically make redirects to https ( and whatever
> port is configured in the "redirectPort" attribute of your
> > http Connecter - 443 usually ), you can add some constraints in web.xml.
> Try this altered for whatever directories you want to be
> > https only :
> > <security-constraint>
> > <web-resource-collection>
> >     <web-resource-name>Some Directories</web-resource-name>
> >     <url-pattern>/secure/*</url-pattern>
> >     <url-pattern>/checkout/*</url-pattern>
> > </web-resource-collection>
> > <user-data-constraint>
> >     <transport-guarantee>CONFIDENTIAL</transport-guarantee>
> > </user-data-constraint>
> > </security-constraint>
> >
> > Beware now of issues with welcome-file-list redirects happening at the
> same time as this one. You can end up with situations where
> > tomcat sends you to https on the http port. e.g. :
> https://myserver.com:8080/secure.index.jsp
> >
> >
> >
> > Steph
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Bill Barker [mailto:wbarker@wilshire.com]
> > > Sent: Saturday, October 11, 2003 12:39 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Re: redirect port 8080 to 443
> > >
> > >
> > > It's in the FAQ:
> > > http://jakarta.apache.org/tomcat/faq/security.html#https
> > >
> > > "Twan Munster" <t.munster@emaxx.nl> wrote in message
> > > news:005001c38f39$12a22570$1501a8c0@picard...
> > > Hello,
> > >
> > > I'm using apache+mod_ssl+mod_jk to make a secure connection.
> > > But every time I call a page in cocoon it is called through port 8080.
> Is it
> > > possible to redirect a call to port 8080  to port 443? And not for the
> > > entire server, but only for a certain directory?How is this done?
> > >
> > > thnx
> > >
> > > Twan
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message