I'm trying to get git-http-backend working on my remote vps with no luck. I've adjusted httpd.conf in a way similar to the on this question, but as soon as I add the ScriptAlias directive, the error occurs.
Apache error log:
suexec policy violation: see suexec log for more details
Premature end of script headers: git-http-backend
Suexec log
error: target uid/gid (503/500) mismatch with directory (0/0) or program (0/0) or trusted user (0/10)
Can anyone comment on how one normally solves suexec problems?
EDIT
The main problem seemed to be that the web server is not allowed to run cgi scripts.
The documentation on configuring suexec is beyond me at the moment. I've chosen to disable it for now, which allows the web server to run these scripts. I can now successfully push to the repo. I found this article helpful.