git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re[2]: git via http problem

From
АЕАлексей Егоров <alekseyandni@mail.ru>
Date
Oct 25, 2010, 13:12 UTC
Message-ID
<E1PAMqx-0004No-00.alekseyandni-mail-ru@f241.mail.ru>
In-Reply-To
<AANLkTiJ=geegYAXnHmNONw8UeocePTw2EMw4frMbQZA@mail.gmail.com>
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@gmail.com>:
Show 16 quoted lines
> Hi,
> On Mon, Oct 25, 2010 at 6:34 PM, Aleksey Egorov <alekseyandni@mail.ru> 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
Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 3 of 5 in “git via http problem”
  1. Aleksey EgorovOct 25, 2010
  2. Tay Ray ChuanOct 25, 2010
  3. Re[2]: git via http problemАлексей Егоров, Oct 25, 2010
  4. Tay Ray ChuanOct 25, 2010
  5. Re[4]: git via http problemАлексей Егоров, Oct 26, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.