|
|
b2396e8 |
This mediawiki package supports multiple instances, sometimes also
|
|
|
b2396e8 |
called Wiki Farms or Wiki Families, but you can use it for a single
|
|
|
b2396e8 |
instance just as well.
|
|
|
b2396e8 |
|
|
Axel Thimm |
13c9f1e |
This works by running mw-createinstance <path>, where <path> is the
|
|
Axel Thimm |
13c9f1e |
new desired location of your wiki(s) like
|
|
|
b2396e8 |
|
|
Axel Thimm |
13c9f1e |
mw-createinstance /srv/my.host/wiki
|
|
|
b2396e8 |
|
|
Axel Thimm |
13c9f1e |
Note that the parent directories must exist.
|
|
Axel Thimm |
13c9f1e |
|
|
Axel Thimm |
13c9f1e |
You also need to create an Apache config entry (if you use Apache for
|
|
Axel Thimm |
13c9f1e |
serving mediawiki) like
|
|
|
b2396e8 |
|
|
|
b2396e8 |
DocumentRoot /srv/my.host/wiki
|
|
|
b2396e8 |
Alias /skins /usr/share/mediawiki/skins
|
|
|
b2396e8 |
|
|
|
b2396e8 |
(this example is for short URLs, e.g. ones w/o a "/wiki/" in the URL)
|