I'm trying to integrate git, gitweb, gitolite, apache. For the moment I get each time a "Server Error". Apache logs:
[cgi:error] [...] AH01215: (13)Permission denied: exec of '/usr/sbin/suexec2' failed, referer: http://git/
/usr/sbin/suexec2 -V gives me:
-D AP_HTTPD_USER="wwwrun"
meaning that apache will run as user "wwwrun". The user wwwrun belongs to the group git:
git:x:1000:git,sav,tame,wwwrun
and these are the permissions of /usr/sbin/suexec2
-rwsr-x--- 1 root git 18936 Oct 24 14:19 /usr/sbin/suexec2
I have restarted Apache several times, applied newgrp... I'm out of ideas.