VirtualHostWikis
<< | Cookbook-V1 | >>
Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
For web developers who host several clients on a single server, group customizations allow a single PmWiki installation to handle all sites with customization handled at the group.php
level. In order to view new PmWiki sites, the following steps must be taken:
- Define the new @Group.php@ customizations how and where? (root?)
- Set the index.php file for the group to point to the
Group.php
file Where? Since there is only one index.php per directory, could it be the root? In that case, can we have different header for each wiki?.<?php header("Location: [(approve links) edit diff]"); ?>
- Create
wiki
file to point to thepmwiki.php
file. where?<?php chdir("../pmwiki"); include("pmwiki.php"); ?>
- Create .htaccess file: where again?
<Files wiki>
-
SetHandler application/x-httpd-php
</Files>
pmwiki-2.4.2 -- Last modified by {{}}?