On Wed, Jun 20, 2007 at 09:52:26AM -1000, Sivakatirswami wrote:
> Patrick R. Michaud wrote:
> > You might try using the pagelist cache.  Create a directory called 'work.d',
> > give it 777 permissions, and add the following to local/config.php:
> > 
> >     $PageListCacheDir = 'work.d';
> > 
> > If pages are updated infrequently, this could save a significant
> > amount of work on the host.
> 
> How could one set this up for a farm, such that a single
> entry in farmconfig.php will do the job.

The above entry in farmconfig.php works.  In fact, one can do:

    $PageListCacheDir = 'work.d';
    mkdirp($PageListCacheDir);

PmWiki will then try to automatically create work.d for each
wiki that doesn't already have one (and report back with an error
if it's unable to do so).

Pm

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to