On Dec 13, 2011, at 12:10 PM, Arash Ostadzadeh wrote:
> The file system has to be local to the web server, right?
> For example, it can probably write to the tmp directory, but the
> problem is that the contents of tmp are not maintained by the system!
>
> can you please give exact instructions what to do with this config.php?
> -Arash
>
>
> On Tue, Dec 13, 2011 at 5:52 PM, Vince Administration
> <[email protected]> wrote:
>> Arash,
>> If you can find or arrange or somehow get a file system that the web server
>> can write to, then you can put the entire wiki.d directory there, and add a
>> pointer in your config.php.
>> It is actually quite common to have the wiki.d directory on a different file
>> system from the other pmwiki files.
>>
> The file system has to be local to the web server, right?
> For example, it can probably write to the tmp directory, but the
> problem is that the contents of tmp are not maintained by the system!
>
> can you please give exact instructions what to do with this config.php?
> -Arash
Ok, look at the page:
http://www.pmwiki.org/wiki/PmWiki/PathVariables
In particular, there are two or three variables that you might want to set.
$WorkDir points to the directory that will contain .flock, and some other
stuff,
$WikiDir points to the wiki files.
You might also want to check out the pub directory.
You could try
$Workdir = "/tmp";
just to see if it actually does something different. If this is a start, you
can create a subdirectory of /tmp, say /tmp/wiki.d
and set
$WorkDir="/tmp/wiki.d";
$WikiDir = "/tmp/wiki.d"
If you use this for more than testing, you should probably set up scripts to
copy the contents of this directory to somewhere safe.
You really should also get your system person to set up a writable file system.
It need not be the same one as where the wiki software resides, and you can
use the same methods as above.
Good Luck
Vince
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users