fcgiwrap listening to a unix socket file: how to change file permissions
- by user36520
I have a web server (nginx) and a CGI application (gitweb) that is ran with fcgiwrap to enable Fast CGI access to it. I want the Fast CGI protocol to take place over a unix socket file.
To start the fcgiwrap daemon, I run:
setuidgid git fcgiwrap -s "unix:$PWD/fastcgi.sock"
(this is a daemontools daemon)
The problem is that my web server runs…