Like a lot coders, solution appears after writing in a forum.
So, I think I just have to change the context path like written in the jboss portal documentation.
I try that now a keep you wired.
Ok, that works.
Sorry to have disturbed you.
Finally, my question is still up to date but I have to reformulate it :
We are working with a lot of partners which have the same business.
At the end of the project, each partner will have to access his website via an url like www.partner1.com, www.partner2.com ...
Each partner's website is a portal managed by one jboss-portal 2.6.
After reading the documentation, I think that the url to access a portal (and one partner) will be www.partner1.com/partner1, www.partner2.com/partner2 (every hosts sharing the same IP) ... I know that I can rewrite (using apache's mod_rewrite or mod_proxy) www.partner1.com/partner1 into www.partner1.com but I'm sure that jboss portal will generate links containing /partner1 and so, the user will see www.partner1.com/partner1 after clicking a link.
Is it possible to hide /partner1, /partner2 ... in all urls ?
The resume of the problem is :
I want that JBoss identify a portal by its url and not by its name.