[pmwiki-users] Farm Testing -- reflect a field across the farm

Knut Alboldt pmwiki at alboldt.de
Sat Apr 2 01:22:27 CST 2005


Sivakatirswami schrieb:
> Separate question:
> 
> what does
> 
> " pmwiki (include of pmwiki mail module)"

look like a typo :-)

it seems to me he meant:

pmwiki (include of pmwiki main module)

you could do this by setting up a php-script in the farm's subdirs named 
like
/pm/otherwik1/pmwiki (= filename !)

   (here you need some more setups for apache to recognise it as a 
php-script) or more simple:

/pm/otherwiki/index.php

(this would enable calling that wiki-field by just using the url 
"/pm/otherwiki/" when you setup index.php in DirectoryIndex in the 
apache config)

which will include the main wiki-script by using the following statements:

<?php
   require_once('../pmwiki-beta-26/pmwiki.php');
?>

Knut



More information about the pmwiki-users mailing list