I'm currently trying to setup a git repository to be accessed via http through an apache 2.4 .
For reasons I can't grasp, my client will always respond a cloning or pushing attempt with
*URL*/git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
I've stripped down the configuration to an absolute minimum, even got rid of Aliasmatches:
<VirtualHost *:80>
Options +FollowSymlinks
SetEnv GIT_PROJECT_ROOT /opt/git/nocturne/
SetEnv GIT_HTTP_EXPORT_ALL=true
ScriptAlias /git/ /usr/lib/git-core/git-http-backend/
<Location "/git">
Options +ExecCGI
AuthName "Git repository, use ldap credentials"
AuthLDAPURL "ldap://127.0.0.1:389/ou=People,dc=domain,dc=stuff?uid?sub?(objectClass=simpleSecurityObject)"
AuthType Basic
AuthName "Git"
AuthBasicProvider ldap
AuthLDAPGroupAttribute member
AuthLDAPGroupAttributeIsDN Off
require valid-user
require ldap-group cn=git-user,ou=Groups,dc=domain,dc=stuff
</Location>
</VirtualHost>
The repository itself has been init using git init --bare
and is symlinked into /var/www/git .
I'm asking you to tell me, what obvious stuff I'm missing. I ran git-update-server-info already, and the repository is readable and writable by the www user.
Thank you in advance