DokuWiki for Debian
-------------------

Multisite support
-----------------

This package can serve several sites using a single wiki engine. This feature
is called multisite, or farming in DokuWiki vocabulary:
<http://www.dokuwiki.org/tips:farm>.

By default, you only have a single site, available at an address such as
<http://localhost/dokuwiki/>. The default Apache configuration allows you to
serve other sites at addresses such as <http://localhost/dokuwiki/sites/name/>.

To create a new site, you can use the command dokuwiki-addsite(1) with a name
corresponding its address (refer to the man page for more details):
    # dokuwiki-addsite localhost.dokuwiki.sites.name
                       ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
                       hostname  path

You may want to define custom aliases or virtual hosts for your multiple sites.
To do so, configure your web server and create your sites with appropriate
names. For instance, for a virtual host-based site at
<http://wiki.project.example.com/>:
    # dokuwiki-addsite wiki.project.example.com
                       ^^^^^^^^^^^^^^^^^^^^^^^^ ^
                       hostname                 null path

Please note that all sites share the installed plugins. For a way to disable
plugins on specific sites, please see
<http://www.dokuwiki.org/tips:farm#enabling_disabling_plugins_in_animals>.
