I spoke too soon. A bit of testing got me the answer that I can just insert
the folder as a string.

Cheers


On Mon, May 27, 2013 at 1:05 AM, Boris Horvat <horvat.z.bo...@gmail.com>wrote:

> Hi all,
>
> I was looking into this example here
> http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ however
> I am not sure if what I want is possible as I am not really sure how to do
> it.
>
> What I want to do is separate my application into 2 folders but I need to
> keep my urls as they are. The example of my mapping should be
>
> www.my-website.com = www.my-website.com/folder1/
> www.my-website.com/mypage = www.my-website.com/folder1//mypage
>
> custom.my-website.com=custom.my-website.com/folder2
> custom.my-website.com/mypage=custom.my-website.com/folder2/mypage
>
> What i am puzzled by is is it possible to somehow insert the path into the
> url or should I try to return the actual page when I see some path?
>
> So how would you implement this?
>
> Cheers
> --
> Sincerely
> *Boris Horvat*
>



-- 
Sincerely
*Boris Horvat*

Reply via email to