git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git via http problem
@ 2010-10-25 10:34 Aleksey Egorov
  2010-10-25 12:39 ` Tay Ray Chuan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Aleksey Egorov @ 2010-10-25 10:34 UTC (permalink / raw)
  To: git

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
<Location /linter.git>
DAV On
AuthType Basic
Authname "localhost"
AuthUserFile /etc/apache2/users/pwd
Require valid-user
</Location>
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
<Location /linter.git>
DAV On
AuthType Basic
Authname "localhost"
</Location>
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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-26  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 10:34 git via http problem Aleksey Egorov
2010-10-25 12:39 ` Tay Ray Chuan
     [not found] ` <AANLkTiJ=geegYAXnHmNONw8UeocePTw2EMw4frMbQZA@mail.gmail.com>
2010-10-25 13:12   ` Re[2]: " Алексей Егоров
2010-10-25 14:20     ` Tay Ray Chuan
     [not found] ` <AANLkTin95znfHbPwCs25-2CFdf6upQpkgR1+uM+Sp9u@mail.gmail.com>
2010-10-26  7:40   ` Re[4]: " Алексей Егоров

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).