What's the page that cause the redirect to the login page ?

2010-03-01 Thread Stateri
Hi, I'm using Tapestry 5 over Spring 2.0 with Acegi Security. I'd like that, if the user call an url that's protected, then this user will be redirect to the login page and, after a successfully login, then he will be automaticly redirectly to the page that he has called firstly. But, when I conf

Re: Expires-Header not set for assets

2010-03-01 Thread Stephan Windmüller
Howard Lewis Ship wrote: > Not having a far future expires header while developing makes some > things, especially debugging JavaScript, much easier. I see the benefit in this, but perhaps it should be documented on the webpage. Regards Stephan -

Re: Expires-Header not set for assets

2010-03-01 Thread Howard Lewis Ship
Not having a far future expires header while developing makes some things, especially debugging JavaScript, much easier. On Mon, Mar 1, 2010 at 2:39 AM, Stephan Windmüller wrote: > On 26.02.2010 16:26, Ulrich Stärk wrote: > >> if (productionMode) >>              response.setDateHeader("Expires",

Re: Supporing old url's ?

2010-03-01 Thread Thiago H. de Paula Figueiredo
On Mon, 01 Mar 2010 11:20:53 -0300, Gunnar Eketrapp wrote: Hi! Hi! What is the smartest / easist way to support old url's? E.g. External systems are expecting a page like http://mysite.com/foo.htm and I would like to handle that call by a some T5 page e.g. I would use URL rewriting. --

Supporing old url's ?

2010-03-01 Thread Gunnar Eketrapp
Hi! What is the smartest / easist way to support old url's? E.g. External systems are expecting a page like http://mysite.com/foo.htm and I would like to handle that call by a some T5 page e.g. http://mysite.com/bar Thanks in advance, Gunnar Eketrapp

Re: Expires-Header not set for assets

2010-03-01 Thread Stephan Windmüller
On 26.02.2010 16:26, Ulrich Stärk wrote: if (productionMode) response.setDateHeader("Expires", lastModified + InternalConstants.TEN_YEARS); Are you in production mode? You are right, that fixed it. Thank you very much! Stephan