From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Moy Subject: Re: git-clone works with ssh but not with http/https/git Date: Tue, 24 Jun 2008 16:05:18 +0200 Message-ID: References: <1214306517.6441.10.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Jakub Narebski" , "Johannes Schindelin" , "Matthias Kestenholz" , git@vger.kernel.org To: "Erez Zilber" X-From: git-owner@vger.kernel.org Tue Jun 24 16:10:56 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KB9EU-0004Fb-JQ for gcvg-git-2@gmane.org; Tue, 24 Jun 2008 16:10:55 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812AbYFXOJ5 (ORCPT ); Tue, 24 Jun 2008 10:09:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753279AbYFXOJ4 (ORCPT ); Tue, 24 Jun 2008 10:09:56 -0400 Received: from harmonie.imag.fr ([147.171.130.40]:58670 "EHLO harmonie.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752261AbYFXOJ4 (ORCPT ); Tue, 24 Jun 2008 10:09:56 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by harmonie.imag.fr (8.13.8/8.13.8) with ESMTP id m5OE8rfj006063; Tue, 24 Jun 2008 16:08:53 +0200 (CEST) Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1KB994-0002Wf-K4; Tue, 24 Jun 2008 16:05:18 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1KB994-0002nO-Hl; Tue, 24 Jun 2008 16:05:18 +0200 In-Reply-To: (Erez Zilber's message of "Tue\, 24 Jun 2008 16\:42\:14 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (harmonie.imag.fr [147.171.130.40]); Tue, 24 Jun 2008 16:08:53 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: "Erez Zilber" writes: > 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? Try to access the repository from a web browser first. If you don't have directory listing enabled, opening a file like HEAD should work. -- Matthieu