installing something in cgi-bin

Jeremy Chadwick freebsd at
Mon Sep 25 09:53:33 PDT 2006

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