You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by infiniter <in...@gmail.com> on 2011/12/23 19:12:24 UTC

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Absolute urls, bookmarkable links and web server proxy

Posted by infiniter <in...@gmail.com>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Absolute urls, bookmarkable links and web server proxy

Posted by Igor Vaynberg <ig...@gmail.com>.
apache rewrite rules are probably the easiest route

-igor

On Fri, Dec 23, 2011 at 10:12 AM, infiniter <in...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org