aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/dot_cgi.mdwn
diff options
context:
space:
mode:
authorhttps://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>2012-09-20 19:43:00 -0400
committeradmin <admin@branchable.com>2012-09-20 19:43:00 -0400
commit181b77a8fad0affe0bfa58e03bde86dc33d875a1 (patch)
tree66911bbf3d18567db572398eb94c242f698dc688 /doc/tips/dot_cgi.mdwn
parent2f00530f28da081207f0c9d5d6fbbcbd66da5166 (diff)
downloadikiwiki-181b77a8fad0affe0bfa58e03bde86dc33d875a1.tar
ikiwiki-181b77a8fad0affe0bfa58e03bde86dc33d875a1.tar.gz
allow everyone to write to the cgi socket so that nginx works
Diffstat (limited to 'doc/tips/dot_cgi.mdwn')
-rw-r--r--doc/tips/dot_cgi.mdwn4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/tips/dot_cgi.mdwn b/doc/tips/dot_cgi.mdwn
index 7fbe278a4..bb0a4fd97 100644
--- a/doc/tips/dot_cgi.mdwn
+++ b/doc/tips/dot_cgi.mdwn
@@ -68,7 +68,9 @@ them with:
spawn-fcgi -s /tmp/fcgi.socket -n -- /usr/sbin/fcgiwrap
This needs to be ran as your user. It can be added to `inittab` or
-made into a startup script in `init.d`.
+made into a startup script in `init.d`. You may also need to make this file writable by the webserver, if that's running as a different user, e.g.:
+
+ chmod a+w /tmp/fcgi.socket
Then you need an nginx config plugged in that wrapper. Here's an
example virtual host configuration: