Hi
is there also a way to setup virtual wikis based on the same hostname but different URL
patterns?
Example:
http://www.myhost.ch/xwiki/wiki-1/
http://www.myhost.ch/xwiki/wiki-2/
http://www.myhost.ch/xwiki/wiki-3/
All URLs point to same Context.
In addition, could you please quickly explain the usage of
xwiki.base=../../
which can be found in the config file?
thanks a lot
Thomas
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, July 28, 2005 12:00 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Create a new instance of Xwiki
Hi,
This is one way of create multiple wikis served from the same servlet engine.
However if you start having over 3 or 4 wikis, this will become a resource hog with many
connections open to the database and multiple caches..
The solution is to use real virtual servers. See
http://www.xwiki.com/xwiki/bin/view/Doc/HowToSetupVirtualWikis
We could improve a little this documentation.
Ludovic
Lichman, Mark Eugene wrote:
Hi Cwiki users,
I noticed the instructions for adding another space, unfortunately
this isn't quite what I needed.
Here are some instuctions for creating a new instance of Xwiki in case
you'd like to keep two completly separate databases (i.e. searching
one will not give results for the other). I wasn't quite sure where to put this
online.
1 Create a new instance of Xwiki
# Create a folder with the name of the new Xwiki (i.e. support) in the
tomcat/webapps folder) # Extract the xwiki war file into this folder #
In the webinf/hibernate.cfg.xml file
* modify {code:xml} <property
name="connection.url">jdbc:mysql://localhost/xwiki</property> {code}
replacing xwiki with the name of the new database you wish to create #
create a new database with the same name as in the line above # import
the sample database located here
[
http://www.xwiki.org/xwiki/bin/view/Main/XWikiDownload] into your new
database
All set! Go to
http://localhost/your_wiki_here/bin/view/Main/WebHome
to check it out.
Caution, you may wish to modify the index.html file to point to your
url just in case.
----------------------------------------------------------------------
--
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic