]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/tips/dot_cgi.mdwn
allow everyone to write to the cgi socket so that nginx works
[ikiwiki.git] / doc / tips / dot_cgi.mdwn
index 7fbe278a4c2c6ac9cf0b672df42af80afc88150c..bb0a4fd974dab57fabcf50abec9485934cc78a71 100644 (file)
@@ -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: