Driver canon pixma ip1880 window 7, Lease termination format india, Gangstar rio city of saints for windows xp, Epson stylus c41sx windows 7 driver, Ios 7 beta 6 legal ipsw iphone 5, Kalavar king telugu movie mp3 songs, Riff for ubuntu 13.04, Diablo 2 lod able items, Cults static zip, I am the bread of life

MediaMultiWiki

For a while now it’s been desirable to have one Mediawiki installation, with multiple virtualhost installations using that as a base. There are other ways, but I found this method to suit our situation quite nicely. There are instructions at http://meta.wikimedia.org/wiki/MediaWiki_code_layout but they’re old and out of date. A lot of the text has been taken from our documentation, so it may require some imagination.

The following directory structure will need to be created. I created mine in /home/bagpuss/www/sites/wiki.glasgownet.com/medawiki/

drwxr-xr-x 2 bagpuss bagpuss 4096 2005-12-02 17:20 config
drwxr-xr-x 2 bagpuss bagpuss 4096 2005-12-02 15:59 images
lrwxrwxrwx 1 bagpuss bagpuss 33 2005-12-02 15:55 img_auth.php -> /usr/share/mediawiki1.5/img_auth.php
lrwxrwxrwx 1 bagpuss bagpuss 30 2005-12-02 15:58 includes -> /usr/share/mediawiki1.5/includes/
lrwxrwxrwx 1 bagpuss bagpuss 30 2005-12-02 15:55 index.php -> /usr/share/mediawiki1.5/index.php
lrwxrwxrwx 1 bagpuss bagpuss 38 2005-12-02 15:55 install-utils.inc -> /usr/share/mediawiki1.5/install-utils.inc
lrwxrwxrwx 1 bagpuss bagpuss 31 2005-12-02 15:58 languages -> /usr/share/mediawiki1.5/languages/
lrwxrwxrwx 1 bagpuss bagpuss 33 2005-12-02 15:58 maintenance -> /usr/share/mediawiki1.5/maintenance/
lrwxrwxrwx 1 bagpuss bagpuss 33 2005-12-02 15:55 redirect.php -> /usr/share/mediawiki1.5/redirect.php
lrwxrwxrwx 1 bagpuss bagpuss 35 2005-12-02 15:55 redirect.phtml -> /usr/share/mediawiki1.5/redirect.phtml
lrwxrwxrwx 1 bagpuss bagpuss 27 2005-12-02 15:57 skins -> /usr/share/mediawiki1.5/skins/
lrwxrwxrwx 1 bagpuss bagpuss 31 2005-12-02 15:55 wiki.phtml -> /usr/share/mediawiki1.5/wiki.phtml

We already have a working mediawiki install on the main server, so I wanted to preserve our settings. I went into /var/lib/mediawiki/ and moved AdminSettings.php and LocalSettings.php into a temporary directory, and then went to http://ourdomain/mediawiki/config/ to set up the database and other bits. This will cause mediawiki to think that we’re creating a brand new install, which in some ways we are.

It offers to set up the database, so I used a different name from our original database. After running this installer, you have to move /var/lib/mediawiki/config/LocalSettings.php into your installation directory, in my case /home/bagpuss/www/sites/wiki.glasgownet.com/medawiki/. The page, however, states that you should move it into the config/ subdirectory. This is not the case, as it will prompt you to move it back to your mediawiki/ directory when you first visit it. After that began working, I moved the original configs back into their working directories and checked to make sure it is still operational.

And that’s it really. You may have to edit the permissions on your LocalSettings.php file, but other than that, it should “just work”. The Debian default when installing Mediawiki is to stick an alias file into /etc/apache2/conf.d/. This has the effect of producing a /mediawiki/ page for every virtualhost, which some people may or may not want. To override this, I edited my own virtualhost configuration to provide an Alias directly to the directory I was using. So the Alias /mediawiki /var/lib/mediawiki in /etc/apache2/conf.d/mediawiki.conf is being overridden by the Alias /mediawiki /home/bagpuss/www/sites/wiki.glasgownet.com/mediawiki/ in my own virtualhost config.

—————-
Now playing: Gomez – Devil Will Ride (Live)
via FoxyTunes