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

Re: cant get git to work over http

From
AGAnton Gladkov <agladkov@parallels.com>
Date
Feb 20, 2008, 13:46 UTC
Message-ID
<20080220134633.GA4220@atn.sw.ru>
In-Reply-To
<e26d18e40802191413w48fe4a71hd7895b09d15cb44e@mail.gmail.com>
On Tue, Feb 19, 2008 at 02:13:30PM -0800, Anatoly Yakovenko wrote:
Show 20 quoted lines
> On Feb 19, 2008 1:59 PM, Anatoly Yakovenko <aeyakovenko@gmail.com> wrote:
> > > Something is fishy here.  Is your repository bare or not?
> >
> > no, why does it need to be bare?
> >
> so bare or not ssh works but http doesnt:
> 
> $ git-clone ssh://aeyakovenko@localhost/var/www/localhost/htdocs/git/bare
> bare-ssh
> Initialized empty Git repository in /home/aeyakovenko/projects/bare-ssh/.git/
> Receiving objects: 100% (3/3), done.
> remote: Counting objects: 3, done.
> remote: Total 3 (delta 0), reused 0 (delta 0)
> 
> 
> 
> and running over a bare directory doesn't work:
> 
> 
> $ git-clone http://aeyakovenko@localhost/git/bare bare
'Bare' means cloning with '--bare' option.
Show 15 quoted lines
> Initialized empty Git repository in /home/aeyakovenko/projects/bare/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
> 
> apache acess log:
> 
> 127.0.0.1 - - [19/Feb/2008:14:10:19 -0800] "GET /git/bare/info/refs
> HTTP/1.1" 401 460
> 
> i feel like i am taking crazy pills, why is apache looking for
> /git/bare/info/refs, and no the directory from the doc root?
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Best regards,
		anton
mailto:agladkov@sw.ru
Previous: Johannes SchindelinNext: Robert Haines
Message 21 of 22 in “cant get git to work over http”
  1. Anatoly YakovenkoFeb 19, 2008
  2. Mike HommeyFeb 19, 2008
  3. Anatoly YakovenkoFeb 19, 2008
  4. Mike HommeyFeb 19, 2008
  5. Johannes SchindelinFeb 19, 2008
  6. Anatoly YakovenkoFeb 19, 2008
  7. Jon LoeligerFeb 19, 2008
  8. Anatoly YakovenkoFeb 19, 2008
  9. Johannes SchindelinFeb 19, 2008
  10. Anatoly YakovenkoFeb 19, 2008
  11. Johannes SchindelinFeb 19, 2008
  12. Anatoly YakovenkoFeb 19, 2008
  13. Johannes SchindelinFeb 19, 2008
  14. Jeff KingFeb 19, 2008
  15. Jon LoeligerFeb 19, 2008
  16. Anatoly YakovenkoFeb 19, 2008
  17. Jon LoeligerFeb 19, 2008
  18. Anatoly YakovenkoFeb 19, 2008
  19. Anatoly YakovenkoFeb 19, 2008
  20. Johannes SchindelinFeb 19, 2008
  21. Anton GladkovFeb 20, 2008
  22. Robert HainesFeb 20, 2008

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.