From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Nieder Subject: Re: gitweb: false base href sent when integrated via reverse proxy and path_info is active Date: Sun, 28 Nov 2010 12:12:15 -0600 Message-ID: <20101128181215.GB19545@burratino> References: <20101128081048.13668.67286.reportbug@sb74.startrek> <20101128162720.GB18335@burratino> <201011281847.40233.jnareb@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Giuseppe Bilotta , git@vger.kernel.org, Daniel Reichelt To: Jakub Narebski X-From: git-owner@vger.kernel.org Sun Nov 28 19:12:28 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PMljg-0007GD-Eg for gcvg-git-2@lo.gmane.org; Sun, 28 Nov 2010 19:12:28 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753896Ab0K1SMW (ORCPT ); Sun, 28 Nov 2010 13:12:22 -0500 Received: from mail-gy0-f174.google.com ([209.85.160.174]:55532 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753795Ab0K1SMV (ORCPT ); Sun, 28 Nov 2010 13:12:21 -0500 Received: by gyb11 with SMTP id 11so1648045gyb.19 for ; Sun, 28 Nov 2010 10:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=wmIsdZMOWINlQtbtmqSri/3cV1p3l8SoNSDlnqvqoAk=; b=mU8OAZCqSXybb+nHc14sNtFdxFrB4ltWpMBG2WoVRoYEg6SemDv/uECf1hYMBXRQuR vtEsDwRClB00IM3J7GvMnXI2GSjuHklOB2TXmXQnI1qWpspdcX8pHBDyE4tkVcYHdqEN QFkyswAY4pyOWEPfKjIuQg+Pv2/EXwZ9CMueE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=jT+jJAyKLVIkmA40II2wJJyAZEFeRo8f9t/7iPnm0q9zgg7Fv05VRikx9lJhkvHYSQ yExhUUxQDQUMl7lWCdDBmSWA1BE+R1TPMJN4iYU2KlJ13s8FDVcyr3BnMrQBQ0D1BHuh ntUhbULRCEvGlFm1Jn+XytqgBO9GOTahA4Av0= Received: by 10.150.199.17 with SMTP id w17mr8987697ybf.301.1290967940532; Sun, 28 Nov 2010 10:12:20 -0800 (PST) Received: from burratino (adsl-68-255-109-73.dsl.chcgil.ameritech.net [68.255.109.73]) by mx.google.com with ESMTPS id p1sm2713191ybn.5.2010.11.28.10.12.18 (version=SSLv3 cipher=RC4-MD5); Sun, 28 Nov 2010 10:12:19 -0800 (PST) Content-Disposition: inline In-Reply-To: <201011281847.40233.jnareb@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jakub Narebski wrote: > See also gitweb/README, the "Gitweb config file variables" section: > > * $base_url > Base URL for relative URLs in pages generated by gitweb, > (e.g. $logo, $favicon, @stylesheets if they are relative URLs), > needed and used only for URLs with nonempty PATH_INFO via > . Usually gitweb sets its value correctly, > ^^^^^^^ > and there is no need to set this variable, e.g. to $my_uri or "/". > > The key word here is "usually" ;-) Thanks, all. That helps. No time for it at the moment, but I'm taking this as evidence that we need a gitweb.conf(5) manual page. :) Would you be interested in such a thing (as POD or asciidoc)? Jonathan