James Pearce's picture
Firstly to offer my thanks for the developers of these truely excellent appliances! I hope also that someone can help me.

I have the MediaWiki appliance running, but would like to move the content to /w, in order that I can reverse proxy it from another web site. Ultimately,

www.example.com - goes to one server
www.example.com/wiki - goes to the wiki

However the default mediawiki install seems to be in a root, hence it's tricky to reverse proxy this (needs lots of rewrites).

I followed some guides to move the content to /w then create an alias, and finally configure x-forward-for to get the right client IPs in,

- http://www.mediawiki.org/wiki/Manual:Short_URL
- http://www.mediawiki.org/wiki/Manual:Varnish_caching

... but now the three administration sites (12320, 12321 and 12322) are broken!

Any help with an "official" method to move wiki to /w would be greatly appreciated.
Forum: 
Jeremy Davis's picture

I would imagine that would be an easier way of solving your problem. Then you would have www.example.com for your website and wiki.example.com for your wiki. You should be able to easily achieve that with apache.

James Pearce's picture

Hi, many thanks for taking the time to reply.  I must have made some mistakes when working out how to do this originally, as I created a new VM and performed the steps cleanly, and all works as it should :)

And here it is - http://blog.peacon.co.uk/wiki/Publishing_TurnKey_MediaWiki_via_NginX

Thanks,

James.

Thanks,

James

Add new comment