From: https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>
Date: Thu, 20 Sep 2012 23:43:00 +0000 (-0400)
Subject: allow everyone to write to the cgi socket so that nginx works
X-Git-Tag: 3.20121016~38
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/181b77a8fad0affe0bfa58e03bde86dc33d875a1?ds=inline;hp=-c

allow everyone to write to the cgi socket so that nginx works
---

181b77a8fad0affe0bfa58e03bde86dc33d875a1
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: