2011/12/02 13:40:37 [error] 6046#0: *1 FastCGI sent in stderr: “Cannot
get script name, is DOCUMENT_ROOT and SCRIPT_NAME set and is the script
executable?” while reading response header from upstream,
I am using debian squeeze. Any idea what I am doing wrong?
2011/12/02 13:40:37 [error] 6046#0: *1 FastCGI sent in stderr: “Cannot
get script name, is DOCUMENT_ROOT and SCRIPT_NAME set and is the script
executable?” while reading response header from upstream,
…and it looks like that program cares about SCRIPT_NAME and
DOCUMENT_ROOT, and presumably not about SCRIPT_FILENAME.
So I’d guess that you want to remove the SCRIPT_FILENAME line, and
replace it with
Your fcgiwrap program may have more documentation on precisely what
parameters it expects and needs. Possibly there should be an extra “/”,
either at the end of one param or at the start of the other.