I am trying to get git-http-backend working on remote vps with no luck. I adjusted httpd.conf in a manner similar to this question , but as soon as I add the ScriptAlias directive, an error will occur.
Apache Error Log:
suexec policy violation: see suexec log for more details
Premature end of script headers: git-http-backend
Suexec Magazine
error: target uid/gid (503/500) mismatch with directory (0/0) or program (0/0) or trusted user (0/10)
Can someone comment on how suexec usually solves problems?
EDIT
The main problem was that the web server was not allowed to run cgi scripts.
The suexec configuration documentation is currently outside of me. At the moment, I decided to disable it, which allows the web server to run these scripts. Now I can successfully click on the repo. I found this article helpful.