From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Narebski Subject: [PATCH] gitweb/README: Document $base_url Date: Tue, 04 Aug 2009 17:54:32 +0200 Message-ID: <20090804155309.30788.77292.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Aug 04 17:54:54 2009 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 1MYMLh-0004nj-0b for gcvg-git-2@gmane.org; Tue, 04 Aug 2009 17:54:49 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932872AbZHDPyl (ORCPT ); Tue, 4 Aug 2009 11:54:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932724AbZHDPyk (ORCPT ); Tue, 4 Aug 2009 11:54:40 -0400 Received: from mail-fx0-f217.google.com ([209.85.220.217]:57000 "EHLO mail-fx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753281AbZHDPyk (ORCPT ); Tue, 4 Aug 2009 11:54:40 -0400 Received: by fxm17 with SMTP id 17so3363518fxm.37 for ; Tue, 04 Aug 2009 08:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:subject:to:date :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=cwNuCr+oMOfWDETbM3Llv7aKNn10AjcM9+dxT9s5pto=; b=e/rVo1TpJcIRL2BhAbXlUvgWKvr+ur+sqFmOpHrXQnikxNYsUdzIm5aSCF8H7u/97F PG5L5S8Vq/9Dy5QVhVKG74nRQVwgbnOyzbTEmyFTkYqyZC/lBvlizt+yu17TQWeU1VrO VbWMuynMnGri0w3CVZ7+M9ua9mTlk6A5T1SN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:subject:to:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; b=Afg1nns93AN7jKbINRzklcrCueNMZh9hLO+djCNiYEosqWxdpT5FtwuUxse1Ovi5sO iTA9FdyWgdth4CsQoAuCA5LDtHxBdvB2VWUN+K5NHYX5iCvRX7g7nregTm1zJOs0GM2g EsIpLMg5XpdanFIYUcBpeTZ2VGt0F9Xjvk/1A= Received: by 10.103.238.13 with SMTP id p13mr3903424mur.111.1249401279860; Tue, 04 Aug 2009 08:54:39 -0700 (PDT) Received: from localhost.localdomain (abwk147.neoplus.adsl.tpnet.pl [83.8.234.147]) by mx.google.com with ESMTPS id u26sm43921442mug.21.2009.08.04.08.54.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 08:54:38 -0700 (PDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.4/8.13.4) with ESMTP id n74FsWKr030834 for ; Tue, 4 Aug 2009 17:54:35 +0200 User-Agent: StGIT/0.14.3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Jakub Narebski --- > Or you can set up $base_url in your gitweb configuration file (which > is not mentioned in the gitweb/README, unfortunately). So now it is documented. gitweb/README | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gitweb/README b/gitweb/README index 9056d1e..baacddd 100644 --- a/gitweb/README +++ b/gitweb/README @@ -165,6 +165,12 @@ not include variables usually directly set during build): Full URL and absolute URL of gitweb script; in earlier versions of gitweb you might have need to set those variables, now there should be no need to do it. + * $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 +