Hi,
I'm a total MediaWiki newbie and new to this list, so forgive me if either of these questions have been asked before.
1) I operate a Debian machine on which I would like to install several instances of MediaWiki. The instances will use different URLs and different database connections. Is this possible? Is there anything to watch out for? Is there any online documentation related specifically to this subject?
2) Secondly, one of the instances will be accessed via a virtual host. However, the hostname is not yet ready. Can I install MediaWiki at one URL then access it via another URL when the hostname is ready to point at my machine? The reason I am asking is because MediaWiki claims to rely on the ServerName in the apache config for some reason - if I set up the virtual host, the ServerName will change, I just want to know if this will have any adverse effects.
I.e. to begin with, I will use http://www.myhost.com/xxx/mediawiki/ and then later on I will use http://bla.xxx.com/mediawiki/ when the owner of xxx.comsets up bla.xxx.com to point at www.myhost.com, I will point bla.xxx.com to www.myhost.com/xxx/ in my apache2 config.
Any help is appreciated!
Thanks, Dafydd
On Apr 19, 2007, at 9:16 AM, Dafydd James wrote:
Hi,
I'm a total MediaWiki newbie and new to this list, so forgive me if either of these questions have been asked before.
- I operate a Debian machine on which I would like to install several
instances of MediaWiki. The instances will use different URLs and different database connections. Is this possible? Is there anything to watch out for? Is there any online documentation related specifically to this subject?
I do this on OS X. Just give the databases different names.
- Secondly, one of the instances will be accessed via a virtual host.
However, the hostname is not yet ready. Can I install MediaWiki at one URL then access it via another URL when the hostname is ready to point at my machine? The reason I am asking is because MediaWiki claims to rely on the ServerName in the apache config for some reason - if I set up the virtual host, the ServerName will change, I just want to know if this will have any adverse effects.
I.e. to begin with, I will use http://www.myhost.com/xxx/mediawiki/ and then later on I will use http://bla.xxx.com/mediawiki/ when the owner of xxx.comsets up bla.xxx.com to point at www.myhost.com, I will point bla.xxx.com to www.myhost.com/xxx/ in my apache2 config.
Just change the paths in LocalSettings.php when the new url is ready. The old url will probably have problems with skins and linking when you do that, but does it matter> There's probably a way to keep it accessible from the old url too with the proper arrangement and symlinks, but I haven't done that yet.
Any help is appreciated!
Thanks, Dafydd _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
mediawiki-l@lists.wikimedia.org