On Fri, Dec 5, 2008 at 10:17 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> On Fri, Dec 5, 2008 at 4:20 AM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
>> tmortagne (SVN) wrote:
>>> Author: tmortagne
>>> Date: 2008-12-04 18:31:07 +0100 (Thu, 04 Dec 2008)
>>> New Revision: 14548
>>>
>>> Modified:
>>> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
>>> platform/web/trunk/standard/src/main/webapp/WEB-INF/web.xml
>>> Log:
>>> XWIKI-2824: Support multiwiki using path urls and not host urls
>>> * fix action name
>>>
>>> Modified:
platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
>>> + String[] vhi = uri.split("/");
>>> + if (vhi.length > 2 &&
vhi[2].equals("wiki")) {
>>> + host = vhi[3];
>>> + }
>>> }
>> This is wrong. This will break
http://www.boston.com/yourtown/wiki/Newton/
>>
> Only if xwiki.virtual.urlpath is enabled.
>
>> /wiki/ should be configurable.
> Yes anyway it would be better, i adding it.
Hmm XWikiRequestProcessor makes it really difficult as it don't have
access to the XWiki.Param (which is not even initialized when
XWikiRequestProcessor.processPath is called).