Hi Mark,
Indeed you're right, this is described at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
Now the reason this is now a problem is because we've made a change in XWiki 5.0 by
making the virtual mode (ie multiwiki mode) on by default and this is causing more trouble
than necessary when you have only 1 wiki.
I've this sent a proposal to improve this for 5.0.2/5.1M1:
http://xwiki.markmail.org/thread/exogtlfepsvzx4iq
Thanks
-Vincent
On May 16, 2013, at 10:04 PM, "Gardner, Mark" <mark.gardner(a)kc.frb.org>
wrote:
OK, from what I'Ve gathered this is caused by the
way that xwiki resolves
what wiki to display depending on URL or DNS name.
Did the image upload work when you used the IP address?
You can further demonstrate what is wrong by turning off the feature that
shows the default wiki when the wiki ask for does not exist.
In xwiki.cfg set
xwiki.virtual.failOnWikiDoesNotExist=0
To the setting
xwiki.virtual.failOnWikiDoesNotExist=1
This was very helpful in getting my base installation setup correctly
because instead of showing the default wiki, it would tell me the wiki I'M
asking for does not exist. I had an odd time going round in circles with
xwiki thinking I'M asking for a virtual wiki.
Also look at the xwiki.virtual.usepath setting. For my configuration I
have
wiki.company.com. I had to change the virtual.usepath from 1 to 0.
That made my installation start looking for the wiki named wiki (the
default btw is xwiki)
I then installed the WIKI manager Application (accessed via IP Address),
and setup a new "virtual wiki". I made the first virtual wiki use the
"xwiki" database (This is the database I had to setup during install, and
I had to check the force box). The magic for me came when I now had the
ability to assign an "alias" to the instance. Setting the alias to wiki
(instead of the default xwiki) and to the server name allowed for the
xwiki engine to correctly call (or instantiate) the wiki context I had
believed I was asking for in the beginning.
--
Mark Gardner
KC Research Automation
Mark.Gardner(a)kc.frb.org
(816) 881-2957
On 5/16/13 2:44 PM, "chrisward" <cw(a)yellowdave.co.uk> wrote:
>
>
> Folks,
>
> In my stack trace you will see the string "candhserver". That's my
real
> server name, in my email I tried to generalise it by replacing it with
> "myserver" in the example URL.
>
> Sorry for any confusion.
>
> Chris