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

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Sun Mar 19 17:43:28 CST 2006


On Sun, 19 Mar 2006, H. Fox wrote:

> 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

That doesn't change anything. Btw, I've already checked that pmwiki.php
(i.e. the included pmwiki.php) is executed by inserting an 'echo "hello";'.

Did you try my steps above and get it to work?

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list