is there some documentation somewhere on setting up multiple wiki's from the same server/install? I've seen references to it, including a refernce, but no more, to a CommonSettings.php Aaron ____________________________________________ Aaron Macks amacks@techtarget.com TechTarget PGP keyid: FBE946C5 117 Kendrick St, Suite 800 Phone: (781) 657-1519 Needham, MA 02494 Fax: (781) 657-1100
At 01:47 PM 1/13/2005 -0500, Aaron Macks wrote:
is there some documentation somewhere on setting up multiple wiki's from the same server/install? I've seen references to it, including a refernce, but no more, to a CommonSettings.php Aaron
I haven't tried it, but I bet you four dollars this would work...
For each installation: 1. Copy all the files into its own unique directory. In other words, don't HTTP serve multiple wiki's from one directory. 2. Run the installation script and choose a unique table prefix. This should give you completely separate data for each installation, but the data would all be on one MySQL server.
-Erik
On Thursday 13 January 2005 20:47, Aaron Macks wrote:
is there some documentation somewhere on setting up multiple wiki's from the same server/install? I've seen references to it, including a refernce, but no more, to a CommonSettings.php Aaron
On my website wikinerds.org I tried this setup:
many directories with their own subdomains:
/somedir -> jnana.wikinerds.org /otherdir -> nerdypc.wikinerds.org /anotherdir -> adapedia.wikinerds.org et cetera...
in every directory there is a complete, autonomous, individual copy of MediaWiki. Actually it happens that many times the different directories have different versions of MediaWiki in them.
Every directory has its own LocalSettings.php file.
It is very important to have the wikiserver set to its subdomain and NOT to the grand domain (wikinerds.org), otherwise you will have serious problems with the cookies et cetera.
There is also a way to have a shared install of MediaWiki, but I haven't tried it.
Please let us know if you encounter any problems with this setup.
On Jan 13, 2005, at 1:59 PM, NSK wrote:
It is very important to have the wikiserver set to its subdomain and NOT to the grand domain (wikinerds.org), otherwise you will have serious problems with the cookies et cetera.
Multiple wikis may share a domain, but they should each have their own session cookie. Set the session cookie name using ini_set() in your LocalSettings.php.
-- brion vibber (brion @ pobox.com)
On Thu, 13 Jan 2005, Aaron Macks wrote:
is there some documentation somewhere on setting up multiple wiki's from the same server/install? I've seen references to it, including a refernce, but no more, to a CommonSettings.php Aaron
I use the following settup:
wiki-dir (from the tar file) - docs/ - extensions/ - includes/ - skins/ - ... - sites/ - site1/ - index.php - redirect.php - LocalSettings.php - images/ - site2/ - index.php - redirect.php - LocalSettings.php - images/ - site3/ ...
redirect.php is a link to ../../redirect.php, but could be just a copy if you don't allow links in the apache config.
index.php has the following change to pick up the right include files:
--- ../../index.php 2004-12-26 03:04:53.000000000 +0100 +++ index.php 2005-01-12 12:16:12.000000000 +0100 @@ -20,7 +20,7 @@ # it becomes an entry point, thereby defeating its purpose. define( "MEDIAWIKI", true );
-require_once( "./includes/Defines.php" ); +require_once( "../../includes/Defines.php" ); require_once( "./LocalSettings.php" ); require_once( "includes/Setup.php" );
In LocalSettings $IP is the "wiki-dir" (see above), and you have to adjust some of the other paths and directory settings to make it work.
I just did this install, but it seems to behave fine.
Christof
This seems to almost work, except for this error when loadinf the index [filenotfound: message="xhtml_slim.pt not found" code=0 mode=return level=notice prefix="" info=""]
Aaron On Jan 14, 2005, at 3:26 AM, Christof Damian wrote:
On Thu, 13 Jan 2005, Aaron Macks wrote:
is there some documentation somewhere on setting up multiple wiki's from the same server/install? I've seen references to it, including a refernce, but no more, to a CommonSettings.php Aaron
I use the following settup:
wiki-dir (from the tar file)
- docs/
- extensions/
- includes/
- skins/
- ...
- sites/
...
- site1/
- index.php
- redirect.php
- LocalSettings.php
- images/
- site2/
- index.php
- redirect.php
- LocalSettings.php
- images/
- site3/
redirect.php is a link to ../../redirect.php, but could be just a copy if you don't allow links in the apache config.
index.php has the following change to pick up the right include files:
--- ../../index.php 2004-12-26 03:04:53.000000000 +0100 +++ index.php 2005-01-12 12:16:12.000000000 +0100 @@ -20,7 +20,7 @@ # it becomes an entry point, thereby defeating its purpose. define( "MEDIAWIKI", true );
-require_once( "./includes/Defines.php" ); +require_once( "../../includes/Defines.php" ); require_once( "./LocalSettings.php" ); require_once( "includes/Setup.php" );
In LocalSettings $IP is the "wiki-dir" (see above), and you have to adjust some of the other paths and directory settings to make it work.
I just did this install, but it seems to behave fine.
Christof
Christof Damian christof@damian.net _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
____________________________________________ Aaron Macks amacks@techtarget.com TechTarget PGP keyid: FBE946C5 117 Kendrick St, Suite 800 Phone: (781) 657-1519 Needham, MA 02494 Fax: (781) 657-1100
Aaron Macks wrote in gmane.org.wikimedia.mediawiki:
is there some documentation somewhere on setting up multiple wiki's from the same server/install? I've seen references to it, including a refernce, but no more, to a CommonSettings.php Aaron
http://wp.wikidev.net/Wiki_farm
HTH, Kate.
mediawiki-l@lists.wikimedia.org