Absolute urls, bookmarkable links and web server proxy
After migrating part of a website, which is in multiple platforms, the business requires the urls to be preserved, which are different from the new ones... E.g.: New url: http:/www.example:8080/app/customer/john Required url: http:/www.example/john Basically the web server routes the urls to the new app, however I now need to make all my bookmarkable links show those absolute urls. Any recommendation? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Absolute-urls-bookmarkable-links-and-web-server-proxy-tp4229418p4229418.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Absolute urls, bookmarkable links and web server proxy
apache rewrite rules are probably the easiest route -igor On Fri, Dec 23, 2011 at 10:12 AM, infiniter infini...@gmail.com wrote: After migrating part of a website, which is in multiple platforms, the business requires the urls to be preserved, which are different from the new ones... E.g.: New url: http:/www.example:8080/app/customer/john Required url: http:/www.example/john Basically the web server routes the urls to the new app, however I now need to make all my bookmarkable links show those absolute urls. Any recommendation? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Absolute-urls-bookmarkable-links-and-web-server-proxy-tp4229418p4229418.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Absolute urls, bookmarkable links and web server proxy
Actually the Apache rules are already set, but my issue is a bit different: I need the bookmarkable links to show the required urls now.. These urls may be even point to a different domain, but I don't want to be too invasive by replacing my BookmarkablePageLinks with ExternalLinks. I was thinking of overriding BookmarkablePageLink#getURL() or overriding RequestCycle#urlFor() -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Absolute-urls-bookmarkable-links-and-web-server-proxy-tp4229418p4229802.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org