On 2013-07-09 13:18, Özgür Kazanççı wrote:

And using nginx with chroot-disabled, (-u) didn't help neither.

That isn't surprising, because nginx's chroot won't affect things run
by slowcgi (which chroots itself separately).  Also, when running with
nginx chroot disabled, did you also adjust path to the slowcgi socket?

"If you just want to see if nginx works try /var/www/cgi-bin/test-cgi
which uses /bin/sh, chmod it appropriately and copy /bin/sh to
/var/www/bin/sh (/bin/sh *is* statically linked)"

Tried this, same error: "502 Bad Gateway"

Have you run slowcgi with the "-d" flag to see its side of the story?
--
Matthew Weigel
hacker
unique & idempot . ent

Reply via email to