Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 00:27:14 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        Nik Clayton <nik@FreeBSD.org>
Cc:        Jun Kuriyama <kuriyama@FreeBSD.org>, doc@FreeBSD.org, committers@FreeBSD.org
Subject:   Re: The website
Message-ID:  <20000628002714.O35437@pavilion.net>
In-Reply-To: <20000626230824.A388@catkin.nothing-going-on.org>; from nik@FreeBSD.org on Mon, Jun 26, 2000 at 11:08:24PM %2B0100
References:  <20000625200029.I470@kilt.nothing-going-on.org> <7mu2eg4sz7.wl@waterblue.imgsrc.co.jp> <20000626230824.A388@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<a href="<!--#include virtual="/cgihost.config"-->/cgi-bin/search.cgi">here</a>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000628002714.O35437>