Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 14:16:36 -0500
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        ports@freebsd.org
Subject:   Re: installing something in cgi-bin
Message-ID:  <20060925191636.GB37898@lor.one-eyed-alien.net>
In-Reply-To: <20060925183319.9ca31237.lehmann@ans-netz.de>
References:  <20060925183319.9ca31237.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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