[pmwiki-users] How to make PmWiki readonly?
Patrick R. Michaud
pmichaud at pobox.com
Sat Jul 14 09:45:12 CDT 2007
On Sat, Jul 14, 2007 at 03:54:07PM +0300, Algardas wrote:
> Good day,
>
> I want to archive some versions of PmWiki, but they should
> stay on the web for historical purposes. Is there a way to
> make everything readonly?
>
> If I chmod everything, PmWiki complains either about the
> lockfile, or the wiki.d directory being not writable...
If you're running version pmwiki-2.2.0-beta44 or later, then
you can set $EnableReadOnly = 1; and the warnings will go away.
You can prevent things from being edited by simply disabling
?action=edit altogether, with:
$HandleActions['edit'] = 'HandleBrowse';
Hope this helps,
Pm
More information about the pmwiki-users
mailing list