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/
/wiki/ should be configurable.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/