RE: Weird behaviour generating URLs for HTTPS pages

2015-02-19 Thread Ben Titmarsh
great. Thanks again, Ben. > Date: Wed, 18 Feb 2015 20:39:50 +0100 > From: lu...@dbmsrl.com > To: users@tapestry.apache.org > Subject: Re: Weird behaviour generating URLs for HTTPS pages > > ... then this might save you some time: > > The easiest way is to setup one vhost for

Re: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread Richard Frovarp
On 02/18/2015 10:20 AM, Ben Titmarsh wrote: Hey Guys, I've just got my web server set up for SSL and it's working, but am experiencing some odd behaviour from Tapestry. I've added the @Secure annotation to one of my pages but by default the link is generated thus: https://[DOMAIN]:80/login

Re: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread Luca Menegus
URLs. Luca Luca - Original Message - > From: "Ben Titmarsh" > To: "Tapestry users" > Sent: Wednesday, February 18, 2015 7:53:29 PM > Subject: RE: Weird behaviour generating URLs for HTTPS pages > > I think you could be correct Luca. My tomca

RE: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread Ben Titmarsh
tapestry.apache.org > Subject: Re: Weird behaviour generating URLs for HTTPS pages > > Hi, > couldn't it be related to the servlet container config? > > As far as I remember tapestry uses information provided by the servlet > container [1] to determinate if a given reques

Re: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread George Christman
URE, "443"); then all links > to @Secure pages are generated with port 80 too. Not sure why that is.. > > > Date: Wed, 18 Feb 2015 12:40:51 -0500 > > Subject: Re: Weird behaviour generating URLs for HTTPS pages > > From: gchrist...@cardaddy.com > > To: user

Re: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread Luca Menegus
pache.org/tomcat-5.5-doc/servletapi/javax/servlet/ServletRequest.html#isSecure() [2] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html - Original Message - > From: "Ben Titmarsh" > To: "Tapestry users" > Sent: Wednesday, February 18, 2015 6:45:18 P

RE: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread Ben Titmarsh
That's right and if I don't add configuration.add(SymbolConstants.HOSTPORT_SECURE, "443"); then all links to @Secure pages are generated with port 80 too. Not sure why that is.. > Date: Wed, 18 Feb 2015 12:40:51 -0500 > Subject: Re: Weird behaviour generating U

Re: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread George Christman
rce that uses this @Secure > annotation but can't seem to find it. I'm on Tapestry 5.3.7 for what > that's worth. > > Thanks, > Ben. > > > Date: Wed, 18 Feb 2015 11:47:16 -0500 > > Subject: Re: Weird behaviour generating URLs for HTTPS pages > >

RE: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread Ben Titmarsh
try 5.3.7 for what that's worth. Thanks, Ben. > Date: Wed, 18 Feb 2015 11:47:16 -0500 > Subject: Re: Weird behaviour generating URLs for HTTPS pages > From: gchrist...@cardaddy.com > To: users@tapestry.apache.org > > Hi Ben, what is your LOGIN_URL set too? Your not trying to

Re: Weird behaviour generating URLs for HTTPS pages

2015-02-18 Thread George Christman
Hi Ben, what is your LOGIN_URL set too? Your not trying to secure the same page your LOGIN_URL is set to right? Example configuration.add(SecuritySymbols.LOGIN_URL, "/login"); On Wed, Feb 18, 2015 at 11:20 AM, Ben Titmarsh wrote: > Hey Guys, > > I've just got my web server set up for SSL and it