[pmwiki-users] How can I set up a private area?
Ben Wilson
dausha at gmail.com
Sun Jan 15 10:16:22 CST 2006
What I have done is set up a wiki farm
(http://pmwiki.org/wiki/Cookbook/WikiFarmAlternative). If the only
difference between the private area and the public area will be
passwords, then in parent/private/local/config.php you could probably
get away with creating your passwords, then including the
parent/local/config.php
Assuming you have a Unix system, you could symlink /pub. My approach is
to untar the PmWiki code base outside the web-accessible area, and also
create a pmwiki-local folder where I put all my personal stuff (e.g.
/cookbook /pub and /local) In pmwiki-local/local I would put server-wide
configuration (including security since I always lock my sites down). I
then symlink the pmwiki-2.1.beta25 to pmwiki-latest and have my
index.php of each field refer to that path as $FarmD. I symlink the
pmwiki-local/pub. For cookbook recipes, I create $FarmC for the path,
then "include_once("$FarmC/recipe.php");
Creating a new field is as easy as copying index.php, symlinking /pub,
and creating /local and "personalizing" config.php for that field. I let
Pmwiki work the wiki.d issue.
Message: 10
Date: Sun, 15 Jan 2006 12:43:19 +0100
From: Michael Widowitz <michael at widowitz.com>
Subject: [pmwiki-users] How can I set up a private area?
To: pmwiki-users at pmichaud.com
Message-ID: <43CA3557.6040601 at widowitz.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I'd like to set up a private area within my pmwiki: i.e. an area which
is only accessible for a selected group of people who have a password
(don't need user-based authentication for now, just a password is fine).
Especially, I'd like all the pages these users create from the start
page to be protected as well, and their attachments/uploads too.
What is the best way to achieve this?
I've been thinking of setting up this area as a pmwiki "group", but
there seem to be some problems - e.g. the group - although it's read
protected - still gets searched and listed in recent changes, and maybe
more.
Any recommendations, except of setting up a completely new pmwiki and
protect the entire wiki?
Thanks,
Mike
More information about the pmwiki-users
mailing list