Canel that... Should've been to intranet01 instead of localhost
----- Original Message -----
From: Thomas Mortagne [thomas.mortagne(a)xwiki.com]
Sent: 03/30/2009 04:04 PM ZE2
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6
Hi ,
On Mon, Mar 30, 2009 at 15:12, Martijn Ras <martijn.ras(a)gmail.com> wrote:
Hello,
I'm trying to set up XEM on a new machine.
I put the XEM WAR file under the webapps folder of my tomcat installation.
Created the MySQL database, just like i used to do with the XE
installations I performed so far, and set the rights as specified in
the installation section of the AdminGuide.
After starting tomcat the database was created and everything else looked fine.
However, whatever i do everything is redirected to the page
http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist
By default XEM access a wiki based on it's host (see
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for more
details). If it's not listed in one of the wikis descriptors, it can't
find it. That said when no descriptor can be found the following rules
are applied:
* if the host is an IP (127.0.0.1, 85.65.12.36, etc.) XWiki select
the main wiki
* else, if the first part of the host name (what is before the
first point) is "www" XWiki select the main wiki
* else, if the first part of the host name match a wiki identifier
XWiki select this wiki
at the end if it still can't find anything he send you to the
configured URL indicating that the wiki you are trying to reach does
not exists (by default it's
http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist in
xwiki.cfg file).
So, two solutions for you here:
- clean way: access the main wiki with the ip if you can or with a
host starting with "www." (like
www.xwiki.org) or "xwiki." and add
the
right hosts to the main wiki's descriptor
- set xwiki.virtual=0 in xwiki.cfg and restore it to 1 when you
correctly configured the main wiki descriptor
(Just added it to
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL)
I'm probably overlooking something really simple, anyways, can one of
you please enlighten me on how to get the XEM XAR loaded?
Mazzel,
Martijn.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users