If I understand correctly, the problem in your case is that the links generated are not absolute e.g. PageLink for MyPage.class generates '/mypage', so when on a secure page, the secure domain will be used by the browser. If you want the links to be consistent you have you create your own links with Link.toAbsoluteURI() (:
On Mon, Jul 18, 2011 at 4:49 PM, Angelo C. <angelochen...@gmail.com> wrote: > not sure if that applicable in my case. let me explain a little more, with my > BaseURLService: > > 1. In the www.sample.com/view, login page's link is: > https://www.safe.sample.com/login, that's what I want. > > 2. When you are in the login page, view page's link become: > http://www.safe.sample.com/view, i want it to be http://www.sample.com/view > > ? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/subdoamin-when-https-else-root-possible-tp4598875p4599062.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org