From: Алексей Егоров Date: Mon, 25 Oct 2010 13:12:43 GMT Subject: Re[2]: git via http problem Message-ID: In-Reply-To: I'm using git-core 1:1.5.6.5-3+lenny3.2 I can see list of files using cadaver: cadaver http://test@localhost/linter.git Authentication required for localhost on server `localhost': Username: test Password: dav:/linter.git/> ls Listing collection `/linter.git/': succeeded. Coll: branches 0 Окт 25 12:45 Coll: hooks 0 Окт 25 12:45 Coll: info 0 Окт 25 12:45 Coll: objects 0 Окт 25 12:45 Coll: refs 0 Окт 25 12:45 HEAD 23 Окт 25 12:45 config 66 Окт 25 12:45 description 58 Окт 25 12:45 dav:/linter.git/> quit Connection to `localhost' closed. In /etc/apache2/mods-enabled I see @authn_file.load with the text LoadModule authn_file_module /usr/lib/apache2/modules/mod_authn_file.so Mon, 25 Oct 2010 20:39:44 +0800 письмо от Tay Ray Chuan : > Hi, > On Mon, Oct 25, 2010 at 6:34 PM, Aleksey Egorov wrote: > > If I change apache conf to > > ? ? ?Alias /linter.git /var/www/linter.git > > > > DAV On > > AuthType Basic > > Authname "localhost" > > > I noticed that you left out AuthUserFile here. > Could it be that you didn't load mod_authn_file? (wild guess) > Also, what version of git are you running? I'm guessing it's an > authentication problem. > -- > Cheers, > Ray Chuan