I tried to set up a git server with git-http-backend and everything works pretty much as I want but there is one little thing. The config <VirtualHost *:80> ServerName git.server.com SetEnv GIT_PROJECT_ROOT /srv/git SetEnv GIT_HTTP_EXPORT_ALL SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER ScriptAlias /git /usr/lib/git-core/git-http-backend/ <Directory "/usr/lib/git-core*"> Options ExecCGI Indexes Order allow,deny Allow from all </Directory> <LocationMatch "^/git/repos/git-receive-pack$"> AuthType Digest AuthName "Git Repositories" AuthUserFile /srv/git/.git-auth-file AuthGroupFile /srv/git/.git