If you have set up WikkiTikkiTavi in a common location (see TaviInstructions#Suggestions), hosting multiple wikis on a virtual host server or a wiki farm server is a breeze. Since only one actual 'Tavi install is performed, administering this setup is very simple.

For example, consider the following setup. You or the site administrator have installed 'Tavi in /usr/local/lib/tavi/tavi-0.21, and created a symbolic link to that directory named /usr/local/lib/tavi/tavi-current.

Each individual wiki, then, would consist of the following files:

index.php -- in web space, a symbolic link to /usr/local/lib/tavi/tavi-current/index.php
admin/index.php -- in web space, a symbolic link to /usr/local/lib/tavi/tavi-current/admin/index.php
config.php -- configuration file generated by configure.pl, may or may not be in the web space
.htaccess -- Apache access control, used to redirect include_path

For example, .htaccess might contain:

php_flag  register_globals off
php_value include_path "/home/joe/tavi:/usr/local/lib/tavi/tavi-current"

where /home/joe/tavi is the location of config.php.

Each virtual host's wiki (or each wiki farm member) would be set up in like manner. As all reference the same install, upgrading all virtual hosts (or wiki farm members) to a new version of 'Tavi is a trivial operation (see AutomatedUpgrades).


Q: My server refuses to read the symbolic link as a page so I keep getting 'access forbidden', as I would if there where no index mage in a directory.

A: Perhaps your webserver doesn't follow symbolic links. If you have access to the configuration yourself add an Options FollowSymLinks to the respective Directory directive, or else ask your admin or hoster if he could do it.


Return to TaviDocumentation.