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

Re: git-clone works with ssh but not with http/https/git

From
Matthias Kestenholz <mk@spinlock.ch>
Date
Jun 24, 2008, 14:02 UTC
Message-ID
<1214316153.6441.24.camel@localhost>
In-Reply-To
<20080624135911.GB6905@atn.sw.ru>
On Tue, 2008-06-24 at 17:59 +0400, Anton Gladkov wrote:
Show 18 quoted lines
> On Tue, Jun 24, 2008 at 05:54:29PM +0400, Anton Gladkov wrote:
> > On Tue, Jun 24, 2008 at 05:42:14PM +0400, Erez Zilber wrote:
> > > I guess that the problem is that no proper mapping exists. That's why
> > > I see the following in /var/log/httpd/error_log:
> > >
> > > [Tue Jun 24 16:31:52 2008] [error] [client 172.16.0.7] File does not
> > > exist: /var/www/html/pub
> > >
> > > What do I need to add in /etc/httpd/conf.d/ in order to set the
> > > mapping to /pub/git instead of /var/www/html/pub ? Is there an example
> > > that shows how to map?
> > 
> > IMO the simplest way is to create a symlink 'pub' in /var/www/html directory
> > pointing to /pub and to add 'Options FollowSymLinks' to <Directory /> in httpd.conf.
> 
> But, I think it will not help you.
> AFAIK you need a gitweb.
> 

To be able to use the HTTP git transport? No. If you use the HTTP transport to clone a repository, gitweb is not used in any way.

-- 
http://spinlock.ch/blog/
Previous: Anton GladkovNext: Erez Zilber
Message 10 of 20 in “git-clone works with ssh but not with http/https/git”
  1. Erez ZilberJun 24, 2008
  2. Matthias KestenholzJun 24, 2008
  3. Erez ZilberJun 24, 2008
  4. Johannes SchindelinJun 24, 2008
  5. Erez ZilberJun 24, 2008
  6. Jakub NarebskiJun 24, 2008
  7. Erez ZilberJun 24, 2008
  8. Anton GladkovJun 24, 2008
  9. Anton GladkovJun 24, 2008
  10. Matthias KestenholzJun 24, 2008
  11. Erez ZilberJun 24, 2008
  12. Jakub NarebskiJun 24, 2008
  13. Matthieu MoyJun 24, 2008
  14. Johannes SixtJun 24, 2008
  15. Robert HainesJun 24, 2008
  16. Erez ZilberJun 24, 2008
  17. Robert HainesJun 24, 2008
  18. Erez ZilberJun 24, 2008
  19. Daniel BarkalowJun 24, 2008
  20. Erez ZilberJun 25, 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.