From: Aleksey Egorov Date: Mon, 25 Oct 2010 10:34:07 GMT Subject: git via http problem Message-ID: Good day I have installed apache2, Webdav and git-core on my Debian. I added next information to the apache conf Alias /linter.git /var/www/linter.git DAV On AuthType Basic Authname "localhost" AuthUserFile /etc/apache2/users/pwd Require valid-user pwd file was created by htpasswd, wich contain user test and password test. my home/.netrc file contains machine localhost login test password test And then when I type git push upload master I see next errors error: Cannot access URL http://localhost/linter.git/, return code 22 error: failed to push some refs to 'http://localhost/linter.git/' In browaser all is ok, when I type http://localhost/linter.git/, user test and password test, it shows directory on the server. If I change apache conf to Alias /linter.git /var/www/linter.git DAV On AuthType Basic Authname "localhost" git starts normal: git push upload master Fetching remote heads... refs/ refs/heads/ refs/tags/ updating 'refs/heads/master' from 0000000000000000000000000000000000000000 to aa36be4c3e46e619f73faa0cea071688cb380d25 What is the problem can be?