Dear friends in code,
how would it be possible to make wicket work in a scenario like this:

Standard generation of urls:
http://www.mysite.com/site/user1/home
http://www.mysite.com/site/user1/gallery
http://www.mysite.com/site/user1/shop

Virtual host aware generation of url:
http://www.user1domain.com/home
http://www.user1domain.com/gallery
http://www.user1domain.com/shop


I do know how to setup Apache to do url rewriting, I do not know, however, how to make Wicket generate such urls. Pages are mounted with IndexedHybridUrlCodingStrategy, I have tried to look into this strategy's encode() method, but I could not find how should I change the behaviour, as this method returns only the part after host www.mysite.com.

I will be grateful for any kick that will direct me the right way.

Thank you very much.

Regards
Vitek


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

Reply via email to