[pmwiki-users] PmWiki work directory

Patrick R. Michaud pmichaud at pobox.com
Tue Dec 19 20:39:26 CST 2006


On Wed, Dec 20, 2006 at 12:30:13AM +0100, christian.ridderstrom at gmail.com wrote:
> On Tue, 19 Dec 2006, Patrick R. Michaud wrote:
> 
> >On Tue, Dec 19, 2006 at 10:54:09AM -0000, marc wrote:
> >>Patrick R. Michaud said...
> >>>The simplest approach at this point is to simply have PmWiki
> >>>create a work.d/ directory (in the pmwiki root) and have it start
> >>>storing its files there.  The work files that have traditionally
> >>>gone into wiki.d/ would then lose the dot, so that we have:
> >>>
> >>>    work.d/flock
> >>>    work.d/pagelist
> >>>    work.d/notify
> >>>    ...etc...
> >>>
> >>
> >>If this "simple" solution works, then may I turn the question around and
> >>ask: what problems (or future limitations) would it impose? (As opposed
> >>to a more complex solution.)
> >
> >Downsides:
> >  - it's another (webserver writable) directory to keep track of
> >  - for sites that have been moving wiki.d/ out of the pmwiki root,
> >    this directory has to be moved also
> >  - the work.d/ directory has to be protected somehow (just like
> >    wiki.d/ does)
> 
> Could we have a writable directory called pmwiki.d/, which in turns by 
> default contains wiki.d/ and work.d/. (Possibly even uploads?)

Having a separate writable directory for writable data makes sense.
The difficult part is deciding what to do with uploads/ -- on the one
hand, it makes sense that uploads/ would go where other writable
directories go, but on another hand it makes url processing a bit
more difficult.  Thoughts?

Pm




More information about the pmwiki-users mailing list