From owner-freebsd-ports@FreeBSD.ORG Mon Sep 25 17:18:04 2006 Return-Path: X-Original-To: freebsd-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 3351816A403 for ; Mon, 25 Sep 2006 17:18:04 +0000 (UTC) (envelope-from apircalabu@bitdefender.com) Received: from mail.bitdefender.com (ns.bitdefender.com [217.156.83.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 330EB43D5A for ; Mon, 25 Sep 2006 17:18:02 +0000 (GMT) (envelope-from apircalabu@bitdefender.com) Received: (qmail 16465 invoked by uid 1010); 25 Sep 2006 20:17:59 +0300 Received: from apircalabu.dsd.ro (10.10.15.22) by mail.bitdefender.com with SMTP; 25 Sep 2006 20:17:59 +0300 Date: Mon, 25 Sep 2006 17:17:58 +0000 From: Adi Pircalabu To: Jeremy Chadwick Message-ID: <20060925171758.7f4b6ad4@apircalabu.dsd.ro> In-Reply-To: <20060925165331.GA31166@icarus.home.lan> References: <20060925183319.9ca31237.lehmann@ans-netz.de> <20060925165331.GA31166@icarus.home.lan> Organization: BitDefender X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-BitDefender-Scanner: Clean, Agent: BitDefender qmail 2.0.0 on mail.bitdefender.com X-BitDefender-Spam: No (0) Cc: freebsd-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 17:18:04 -0000 On Mon, 25 Sep 2006 09:53:31 -0700 Jeremy Chadwick 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 =24=7BCGIBINDIR=7D)? 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 =22right=22 solution.... > > Is this not the job of apxs(8) that comes with Apache? apxs -q > should be able to assist you. No, apxs is used (as its man clearly states) to build and install Apache modules. It has nothing to do with cgi and/or data directories used by Apache. Oliver, you can take a look in the ports tree for examples of using CGIBINDIR and other variables. See e.g. mail/sqwebmail and mail/qmailadmin. >From what I know, there is no de-facto standard to install files in Apache's directories, but I may be wrong. -- Adi Pircalabu (PGP Key ID 0x04329F5E) -- This message was scanned for viruses by BitDefender for Linux Mail Servers. For more information please visit http://www.bitdefender.com/