[Mediawiki-l] Several instances on one host

harry van der lans lansharry at hotmail.com
Tue May 15 11:24:46 UTC 2007


I am sorry but I am not interested!  best regard, van der lans harry

> Date: Tue, 15 May 2007 13:22:22 +0200> From: tillea op rki.de> To: mediawiki-l op lists.wikimedia.org> Subject: Re: [Mediawiki-l] Several instances on one host> > On Thu, 10 May 2007, F.D. wrote:> > > There's some info on wiki farms on MediaWiki.org:> > http://www.mediawiki.org/wiki/Manual:Wiki_family> > Maybe that helps...> > The hint sounds good and I tried> > > <?php> > $callingurl = strtolower($_SERVER['REQUEST_URI']); // identify the asking url> > if ( strpos( $callingurl, 'wikiFG31') ) {> require_once( 'LocalSettings_wikiFG31.php' );> }> if ( strpos( $callingurl, 'wikiWR') ) {> require_once( 'LocalSettings_WR.php' );> }> ?>> > > as new LocalSettings.php for my two instances (named FG31 and WR).> I also added> > Alias /wikiFG31 /var/lib/mediawiki1.9> Alias /wikiWR /var/lib/mediawiki1.9> > to my apache2 config (I'm using the Debian packaged version of> MediaWiki 1.9.3).> > If I call either> > http://localhost/wikiWR/ or> http://localhost/wikiFG31/> > I get> > Error, Setup.php must be included from the file scope, after DefaultSettings.php> > as response but I have no idea what I might have missed.> Any idea?> > Kind regards> > Andreas.> > -- > http://fam-tille.de> > _______________________________________________> MediaWiki-l mailing list> MediaWiki-l op lists.wikimedia.org> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_________________________________________________________________
Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today!
http://get.live.com/toolbar/overview


More information about the MediaWiki-l mailing list