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
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
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
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
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
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
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
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
> >
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
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
10 matches
Mail list logo