Re: renderFullUrl for apache internal redirected page

2018-08-04 Thread Bas Gooren
Hi! This is because without additional configuration, your tomcat does not “know”/see that the original request came in by https. Wicket has support for automatically picking this up, see https://ci.apache.org/projects/wicket/apidocs/org/apache/wicket/protocol/http/servlet/XForwardedRequestWrap

renderFullUrl for apache internal redirected page

2018-08-04 Thread smallufo
My server is apache frontend , redirecting all port 80 to 443 and with '/app' prefix , proxyPass to internal tomcat , listening to port 8080 I use the following line to get full url val absUrl = requestCycle.urlRenderer.renderFullUrl(Url.parse(urlFor(MyPage::class.java, pps).toString())) The br