Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 17:17:58 +0000
From:      Adi Pircalabu <apircalabu@bitdefender.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: installing something in cgi-bin
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




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