From: Jakub Narebski <jnareb@gmail.com>
To: Anton Gladkov <agladkov@parallels.com>
Cc: Erez Zilber <erezzi.list@gmail.com>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Matthias Kestenholz <mk@spinlock.ch>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git-clone works with ssh but not with http/https/git
Date: Tue, 24 Jun 2008 20:58:13 +0200 [thread overview]
Message-ID: <200806242058.13721.jnareb@gmail.com> (raw)
In-Reply-To: <20080624135429.GA6905@atn.sw.ru>
On Tue, 24 Jun 2008, 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.
Another solution (not necessary simplest, but it might be preferred
from the security point of view) is to do some URL rewriting / redirection.
See your web server documentation for details...
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2008-06-24 18:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 11:15 git-clone works with ssh but not with http/https/git Erez Zilber
2008-06-24 11:21 ` Matthias Kestenholz
2008-06-24 11:45 ` Erez Zilber
2008-06-24 11:48 ` Johannes Schindelin
2008-06-24 12:07 ` Erez Zilber
2008-06-24 12:25 ` Jakub Narebski
2008-06-24 13:42 ` Erez Zilber
2008-06-24 13:54 ` Anton Gladkov
2008-06-24 13:59 ` Anton Gladkov
2008-06-24 14:02 ` Matthias Kestenholz
2008-06-24 14:16 ` Erez Zilber
2008-06-24 18:58 ` Jakub Narebski [this message]
2008-06-24 14:05 ` Matthieu Moy
2008-06-24 12:41 ` Johannes Sixt
2008-06-24 12:35 ` Robert Haines
2008-06-24 13:53 ` Erez Zilber
2008-06-24 14:08 ` Robert Haines
2008-06-24 14:45 ` Erez Zilber
2008-06-24 17:10 ` Daniel Barkalow
2008-06-25 6:56 ` Erez Zilber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200806242058.13721.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=agladkov@parallels.com \
--cc=erezzi.list@gmail.com \
--cc=git@vger.kernel.org \
--cc=mk@spinlock.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).