From owner-freebsd-ports@FreeBSD.ORG Mon Sep 25 16:53:33 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 5056116A403; Mon, 25 Sep 2006 16:53:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc11.comcast.net (alnrmhc11.comcast.net [206.18.177.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC4C43D5E; Mon, 25 Sep 2006 16:53:32 +0000 (GMT) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97]) by comcast.net (alnrmhc11) with ESMTP id <20060925165331b11008engae>; Mon, 25 Sep 2006 16:53:31 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 5F9981FA01A; Mon, 25 Sep 2006 09:53:31 -0700 (PDT) Date: Mon, 25 Sep 2006 09:53:31 -0700 From: Jeremy Chadwick To: freebsd-ports@freebsd.org, ports@freebsd.org Message-ID: <20060925165331.GA31166@icarus.home.lan> Mail-Followup-To: freebsd-ports@freebsd.org, ports@freebsd.org References: <20060925183319.9ca31237.lehmann@ans-netz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060925183319.9ca31237.lehmann@ans-netz.de> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: 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 16:53:33 -0000 On Mon, Sep 25, 2006 at 06:33:19PM +0200, Oliver Lehmann wrote: > 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.... Is this not the job of apxs(8) that comes with Apache? apxs -q should be able to assist you. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |