From owner-freebsd-doc Tue Jun 27 16:26:55 2000 Delivered-To: freebsd-doc@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 75B6737C368; Tue, 27 Jun 2000 16:26:06 -0700 (PDT) (envelope-from joe@pavilion.net) Received: from genius.systems.pavilion.net (genesis.tao.org.uk [194.242.131.254]) by florence.pavilion.net (8.9.3/8.8.8) with ESMTP id AAA27579; Wed, 28 Jun 2000 00:26:04 +0100 (BST) (envelope-from joe@pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 38D0B12555; Wed, 28 Jun 2000 00:27:15 +0100 (BST) Date: Wed, 28 Jun 2000 00:27:14 +0100 From: Josef Karthauser To: Nik Clayton Cc: Jun Kuriyama , doc@FreeBSD.org, committers@FreeBSD.org Subject: Re: The website Message-ID: <20000628002714.O35437@pavilion.net> References: <20000625200029.I470@kilt.nothing-going-on.org> <7mu2eg4sz7.wl@waterblue.imgsrc.co.jp> <20000626230824.A388@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000626230824.A388@catkin.nothing-going-on.org>; from nik@FreeBSD.org on Mon, Jun 26, 2000 at 11:08:24PM +0100 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jun 26, 2000 at 11:08:24PM +0100, Nik Clayton wrote: > On Mon, Jun 26, 2000 at 07:49:48PM +0900, Jun Kuriyama wrote: > > > > I think so. We should reduce unneeded CGI scripts but this check > > should be done carefully. I think current CGI set in www.FreeBSD.org > > is quite minimal and difficult to replace with static contents. I'd > > like to see a list of what part of CGI should be replaced. > > Yes. My point was that we shouldn't be introducing new CGI scripts wherever > practical. > A trick that we use is to make use of server side includes to allow a crude configuration file method. e.g. a config file. /cgihost.config: www.uk.freebsd.org And a file that uses it: /search.shtml Search the repository /cgi-bin/search.cgi">here This would allow the web pages to be coded generically but allow each mirror to choose which server carries the cgi-bin. In the default case it may point to www.freebsd.org, but could be local, or on another local server. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message