It's better when it's simple

User Tools

Site Tools


How can I make some pages non-writable?

There are two ways:

  1. Use the DokuWiki ACL feature (recommended).
  2. Just remove the write permissions for the webserver on that particular file. eg1):
    chmod 644 file.txt

    Be sure you understand permissions, as permissions impact security.

The following example applies only for Linux/Unix like OS and assumes that the file is not owned by the webserver.
faq/pageprotect.txt · Last modified: 2018-05-15 10:28 by Michaelsy

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki