From owner-freebsd-ports@FreeBSD.ORG Mon Sep 25 19:16:51 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B724216A40F for ; Mon, 25 Sep 2006 19:16:51 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE71A43DA5 for ; Mon, 25 Sep 2006 19:16:42 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20060925191641m9200douroe>; Mon, 25 Sep 2006 19:16:41 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id k8PJGb5g037983; Mon, 25 Sep 2006 14:16:38 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id k8PJGae5037982; Mon, 25 Sep 2006 14:16:36 -0500 (CDT) (envelope-from brooks) Date: Mon, 25 Sep 2006 14:16:36 -0500 From: Brooks Davis To: Oliver Lehmann Message-ID: <20060925191636.GB37898@lor.one-eyed-alien.net> References: <20060925183319.9ca31237.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: <20060925183319.9ca31237.lehmann@ans-netz.de> User-Agent: Mutt/1.5.11 Cc: ports@freebsd.org Subject: Re: installing something in cgi-bin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 19:16:51 -0000 --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 25, 2006 at 06:33:19PM +0200, Oliver Lehmann wrote: > Hi, >=20 > what is the propper way of installing something in cgi-bin? Right now we > have: >=20 > apache13 www/cgi-bin-dist > apache20 www/cgi-bin-dist > apache21 www/cgi-bin-dist > apache22 www/apache22/cgi-bin >=20 > Is there any generic way of referencing cgi-bin regarding to the apache > version installed (is there any include file which provides a variable > like ${CGIBINDIR})? Otherwise I would go with www/cgi-bin for now which > should be a link to cgi-bin-dist except for apache22. But I wonder if > that is the "right" solution....=20 >=20 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-p= hp.html#USING-APACHE >=20 > said nothing about that. Installation of anything in the -dist directories (directly or indirectly) is wrong. Also, you should avoid installing anything in a location where it will be exposed to the outside world without a deliberate action by the administrator (i.e. adding a ScriptAlias directive). -- Brooks --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFGCsTXY6L6fI4GtQRAvXhAKDIbSSRCMDJpx51ocGjMGbt/hThSwCgkHJU CAgpxNJAY7o+zAAgEge2eao= =wVTr -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU--