On Thu, Oct 30, 2008 at 10:02 AM, Gallois Frédéric
<frederic.gallois(a)insee.fr> wrote:
Hi
Some adds. After looking at the doc
(
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigur…),
I understood that in a multi wiki environnment (i.e. XEM + virtual wikis) :
- there's one scheme by virtual wiki
- the distinction between the schemes is made by a prefix.
If I'm right, the xwiki.cfg file contains :
xwiki.db : the name of the scheme of the main wiki
Xwiki.db.prefix : added to the scheme of each virtual wiki
So, if my main wiki is named Main and I've got 2 virtual wikis (wiki1 and wiki2), and
if my xwiki.db.prefix si set to pr_, the result would be :
A main scheme for my xwiki Main
You means if you are using xwiki.db=Main ?
If that then yes and no: database/schema name is forced lower case so
the schema of your main wiki will be "main".
Otherwise, currently in multiwiki mode your main wiki is always
"xwiki" (but you can have the name you want for the real
database/schema using xwiki.db as you seen).
A scheme pr_wiki1 for the first virtual wiki
A scheme pr_wiki2 for the second one
yes excatly
Right ?
Frédéric Gallois
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
De la part de Gallois Frédéric
Envoyé : mercredi 29 octobre 2008 17:05
À : users(a)xwiki.org
Objet : [xwiki-users] Need some explanation about virtual xwiki
Hello everybody
My company decide to use Xwiki for online applications help.
The goal is to have an address like
http://my.server.intranet/application1 or
http://my.server.intranet/application2 to point directly to
xwiki for the application1 or the application2 through an
Apache reidrection mechanism.
Each application wiki are provided by differents teams to put
in production by export/import.
We want to use Tomcat5 and Oracle 10g database.
To reach this goal, I thought to use Xwiki Enterprise Manager
to handle virtual Xwiki (one for each application).
Here are my questions :
- is this the good solution ?
- I understood that I can have only one database for all
wikis. If not, may I use Oracle schemas to do this ?
- I tried using xwiki 1.4.2 without any problems. So I
installed Application Manager (plugin and application), Wiki
Manager (plugin and application) and set xwiki.virtual to 1.
But this failed... (Cannot initialize main wiki context). Is
this the right way ?
- Are there some restrictions on the database naming ?
That's all for the moment
Thanks in advance and sorry for my poor english spoken.
F Gallois
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne