[pmwiki-users] Minor question regarding the definition of "Wiki farm"

H. Fox haganfox at users.sourceforge.net
Sun Mar 19 16:26:35 CST 2006


On 3/19/06, christian.ridderstrom at gmail.com
<christian.ridderstrom at gmail.com> wrote:
> > * Unzip the PmWiki software somewhere outside the web document tree.
> > * Move the pub/ directory to somewhere within the web document tree
> > ("in the web space").
> > * Add a local/farmconfig.php and set $FarmPubDirUrl to the URL of the
> > pub/ directory.
> > * Create one wiki using "the four steps":
> >   1. Create a directory (in the web space, of course).
> >   2. Add a wrapper script that points to pmwiki.php.
> >   3. Add a local configuration file. (Optional.)
> >   4. Let the PmWiki engine create a wiki.d/ directory for page storage.
>
> Hmm... I tried a version of the above in order to get to another point,
> but for some reason it doesn't work at step 4. I was expecting PmWiki to
> ask me to do a chmod, but I just get a blank screen?
>
> Here's what I did:
>
> cd /home/chr
> svn co svn://pmwiki.org/pmwiki/tags/latest pmwiki
> mkdir public_html/test
> mv pmwiki/pub public_html/test/pub
> cd pmwiki/local
> echo '<?php $FarmPubDirUrl="http://wwww.lyx.org/~chr/test/pub";'>farmconfig.php
> cd ~chr/public_html/test
> echo '<?php include("/home/chr/pmwiki/pmwiki.php");' > pmwiki.php

Try

cd /home/chr/public_html/test
echo '<?php include("/home/chr/pmwiki/pmwiki.php");' > index.php
chmod 644 index.php

Hagan




More information about the pmwiki-users mailing list