Last modified by Thomas Mortagne on 2023/10/13

From version 11.3
edited by Vincent Massol
on 2013/05/13
Change comment: There is no comment for this version
To version 11.5
edited by Vincent Massol
on 2013/05/13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -206,7 +206,7 @@
206 206  
207 207  === Virtual mode is always on ===
208 208  
209 -Since the multiwiki mode (aka virtual mode) is always on now you might have some error like the following one:
209 +Since the multiwiki mode (aka virtual mode) is always on now you might have some error like the following one after migrating:
210 210  
211 211  {{code}}
212 212  Throwable occurred: com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [wiki] does not exist
... ... @@ -214,7 +214,7 @@
214 214  ...
215 215  {{/code}}
216 216  
217 -The problem will happen if you had the virtual mode off before and if you were using some URL like {{code}}http://wiki.some.domain/xwiki/bin/view...{{/code}}. Since all URLs are now multiwiki URLs XWiki needs to figure out which wiki is being called. What happens is the following:
217 +The problem will happen if you had the virtual mode off before and if you were using some URL with a domain like {{code}}http://wiki.some.domain/xwiki/bin/view...{{/code}}. Since all URLs are now multiwiki URLs XWiki needs to figure out which wiki is being called. What happens is the following:
218 218  * Since the default configuration is a path-based configuration XWiki first tries to find the wiki name in the URL path and it won't find it
219 219  * Then it fallbacks to domain-based configuration and gets the host name, i.e. ##wiki.some.domain##. It tries to find a page in the wiki containing an Object of type ##XWiki.XWikiServerClass## and with a ##server## property of ##wiki.some.domain##.
220 220  * Since it doesn't find one, it defaults to using the ##wiki## wiki (ie the part of the host name before the first dot)

Get Connected