Re[2]: git via http problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <rctay89@xxxxxxxxx>:

> Hi,
> On Mon, Oct 25, 2010 at 6:34 PM, Aleksey Egorov <alekseyandni@xxxxxxx> wrote:
> > If I change apache conf to
> > ? ? ?Alias /linter.git /var/www/linter.git
> > <Location /linter.git>
> > DAV On
> > AuthType Basic
> > Authname "localhost"
> > </Location>
> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]