installing something in cgi-bin

Jeremy Chadwick freebsd at
Mon Sep 25 10:21:39 PDT 2006

On Mon, Sep 25, 2006 at 05:17:58PM +0000, Adi Pircalabu wrote:
> 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.

Bzzt.  I beg to differ:

$ grep "my \$installbuilddir" /usr/local/sbin/apxs
my $installbuilddir = "/usr/local/share/apache22/build";

$ grep cgi-bin /usr/local/share/apache22/build/
exp_cgidir = /usr/local/www/apache22/cgi-bin
cgidir = ${datadir}/cgi-bin

apxs -q can be used to get any information about the Apache
installation setup.  The list of variables you can query are

| Jeremy Chadwick                                 jdc at |
| Parodius Networking               |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |

More information about the freebsd-ports mailing list