added www group as pmwiki root owner #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "tb:3.7-pmwiki"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This allows apache to directly use this ports root to serve pmwiki.
Users that deploy nginx can simply add nginx user to be in the www root as well (
usermod -G -a www nginx
).Patch will not work as it is because the directories wiki.d and uploads must be writable by the www user.
IMO the wiki should not be installed into the document root of the server. See the README for a secure apache configuration for pmwiki.
Thinking about it I don't know how to solve the problem without this change.
The problem is not how to set it up securely, and this change shouldn't break any existing apache setup, but it will allow the described fix for the proposed problem for users running other server (e.g. nginx, lighttpd, ..).
Nevermind 😆
Pull request closed