Unfortunately, there’s no guide available for installing mediawiki on dotcloud and googling for it doesn’t turn up anything much useful. But, I had to move out LUG wiki to dotcloud. I proceeded with it while refering to drupal documentation. At the moment, I don’t have a guide on installing mediawiki but I can highlight the problem I faced. The big problem lies in the fact that the setup of MediaWiki was done on Apache and dotcloud runs nginx. So, the problem occured mainly with getting the path right. The savior comes in form of the MediaWiki documentation for nginx.
Some of the changes I had to make were
LocalSettings.php
$wgUsePathInfo = true;
nginx.conf
try_files $uri $uri/ /index.php?title=$1&$args;
fastcgi.conf
fastcgi_param PATH_INFO $fastcgi_path_info;
This isn’t a full fledged guide or a how-to but hopefully a pointer for people who are stuck while getting started with MediaWiki on dotcloud or nginx.
Comments