User:*Surak*/SimpleFarm

This page describes my SimpleFarm experience.

Installation
I use a MediaWiki 1.19.1 farm with the SimpleFarm 0.1rc extension that contains three wikis (PROJECT1, PROJECT2, PROJECT3) that share the same productive database. A second implementation contains the same wikis sharing a different test database for testing purpose. I keep all configuration files in a config directory parallel to the mediawiki installation directory. Every wiki shall be called using a 'pretty' clean URL.

Installation Directories: http://www.proddomain.com/wikiroot/config/ http://www.proddomain.com/wikiroot/mediawiki/

http://www.proddomain.com/test/wikiroot           &rarr; http://www.testdomain.com/wikiroot http://www.proddomain.com/test/wikiroot/config/   &rarr; http://www.testdomain.com/wikiroot/config/ http://www.proddomain.com/test/wikiroot/mediawiki/ &rarr; http://www.testdomain.com/wikiroot/mediawiki/

Wiki URL: http://www.proddomain.com/project1/Main_page http://www.proddomain.com/project2/Main_page http://www.proddomain.com/project3/Main_page

http://www.testdomain.com/project1/Main_page http://www.testdomain.com/project2/Main_page http://www.testdomain.com/project3/Main_page

Configuration
Due to the redirect from www.proddomain.com/test/wikiroot to www.testdomain.com/wikiroot, I can use the same setup configuration files in both domains.

Issues

 * 1) With this configuration, images are not displayed, neither the wiki logos nor any other images.  I assume that images are expected to be stored at /wikiroot/mediawiki/images/images_projectn/, wiki favicons at /wikiroot/mediawiki/images/logos/projectn.ico, and wiki logos at /wikiroot/mediawiki/images/logos/projectn.png.  If I select an image, the browser tells me that the image xyz.png cannot be found at /wikiroot/mediawiki/images/images_projectn/a/ab/xyz.png, but if I copy the URL into the browser's address box, it displays the image, i.e. it is stored at that directory.