From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yLQALSa4xWIsLgEAbAwnHQ (envelope-from ) for ; Wed, 06 Jul 2022 18:28:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EMLtKya4xWJxAgEAG6o9tA (envelope-from ) for ; Wed, 06 Jul 2022 18:28:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DB192DD25 for ; Wed, 6 Jul 2022 18:28:22 +0200 (CEST) Received: from localhost ([::1]:34454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o97sz-0000HZ-6U for larch@yhetil.org; Wed, 06 Jul 2022 12:28:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o97rw-0008Rf-LW for help-guix@gnu.org; Wed, 06 Jul 2022 12:27:16 -0400 Received: from relay.yourmailgateway.de ([188.68.63.165]:43905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o97rp-0003Np-5S for help-guix@gnu.org; Wed, 06 Jul 2022 12:27:13 -0400 Received: from mors-relay-8202.netcup.net (localhost [127.0.0.1]) by mors-relay-8202.netcup.net (Postfix) with ESMTPS id 4LdQ151m5Zz3sMy; Wed, 6 Jul 2022 18:27:05 +0200 (CEST) Received: from policy02-mors.netcup.net (unknown [46.38.225.53]) by mors-relay-8202.netcup.net (Postfix) with ESMTPS id 4LdQ151MTwz3sMw; Wed, 6 Jul 2022 18:27:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4LdQ1440GRz8sb9; Wed, 6 Jul 2022 18:27:04 +0200 (CEST) Received: from florianrock64 (ip5b40552a.dynamic.kabel-deutschland.de [91.64.85.42]) by mxe217.netcup.net (Postfix) with ESMTPSA id EA18890DCD; Wed, 6 Jul 2022 18:27:02 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Simon Streit Cc: help-guix@gnu.org Subject: Re: Set up cgit with git-http-backend properly References: <87wncvdfh2.fsf@pelzflorian.de> Date: Wed, 06 Jul 2022 18:27:02 +0200 In-Reply-To: (Simon Streit's message of "Mon, 04 Jul 2022 12:29:57 +0200") Message-ID: <877d4qdx61.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NC-CID: 4VZiPq25ggWS4PNlstO1XUZBRk3npu+Kp+mX5ToR24Wl5f6krx/CL69x Received-SPF: none client-ip=188.68.63.165; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657124902; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=RIqnM4Ix3lZS4rMHhdTUK80smyEi9ikP0RVVaCNscUw=; b=aLhULpWE45+l1rzRztWOz128oSqDscWzT52JCub1FsDZiBGCB0NKeHFbaAizNxhxY84zqD 9UHdd86/oqpPaSF3pEQtDBV402h76INQMEigI5cv//AfOOhvcBH0CPajb13/XbggyVO9bl ZGqDarc9geSxw3CwfaxNDF4N9G+4bv5OYAZb5BcHv5ObPpKuvFasD5qrbrd+LgaF9MrjDv sL7D90jmO5nr9iLhI8PfMQOBnUhMqc2/t+qP1aD8P89cQS0UZ6hg74CYKRWbPsTkYspfjo UMKaEFew4nXzm4CkxFmOCFddZwXfbjMgqqCFxGHy2CQtLDIYZRBBXMOwfwuV1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657124902; a=rsa-sha256; cv=none; b=VD0fqQZS0PR8tyBOfoyWSGT4OjrF3EE9MtStMeCu85UNFywlZiMwEGPPbqHtBNeoWove6z GhnWFPXOKGEKXjNpP7KvoNH52fmGmIIn6VzFjOts43NxAxD2ZCS8AtUs0UAMnCtlA4hosP sVJbgsIRVRsXmPQ0beXvv3PbEbVHUI9CxKzBJWcpNjI801DC+DVWqYJ38bHptggbDdF8eX Ia/HXWQ7CjTHDFRQB76nMStpVTRKr2C7zm5eSurdJtXdVR/K2RJNgc4F1FbYNlkkY45RRr kvrJ24KoGW81ANiYDB/yxE7XsMBRPfWAqJon1ALepW0POlpgM2xcU7CvFFtMTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.25 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4DB192DD25 X-Spam-Score: -3.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: O2LRbyQt0gAw Hello Simon. Simon Streit writes: > After > modifying > > (string-append "~ /" (string-trim-both uri-path #\/) "(/.*)") > > to > > (string-append "~ " (string-trim-both uri-path #\/) "(/.*)") > > serving and cloning from https://git.example.com/repo(.git) works now. > But it doesn't when cgit is enabled and serving repositories in the same > path at the same time. Glad you have a working setup. Though this sounds like even cgit cannot be served from / even if the Guix service definition were fixed. But looks like a configuration that seems to use /, though instead of "~ /" they special-case the paths under /. Regards, Florian