I really don't know anything about this, but is there any chance that this:
Code:
target uid/gid (1000/1000) mismatch with directory (1000/1000) or program (1000/0)
^
means that the cgi script is in group
root instead of in whatever group has gid 1000?