installing something in cgi-bin

Brooks Davis brooks at
Mon Sep 25 12:16:51 PDT 2006

On Mon, Sep 25, 2006 at 06:33:19PM +0200, Oliver Lehmann wrote:
> Hi,
> what is the propper way of installing something in cgi-bin? Right now we
> have:
> apache13 www/cgi-bin-dist
> apache20 www/cgi-bin-dist
> apache21 www/cgi-bin-dist
> apache22 www/apache22/cgi-bin
> 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.... 
> said nothing about that.

Installation of anything in the -dist directories (directly or
indirectly) is wrong.  Also, you should avoid installing anything in a
location where it will be exposed to the outside world without a
deliberate action by the administrator (i.e. adding a ScriptAlias

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list