installing something in cgi-bin

Brooks Davis brooks at one-eyed-alien.net
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.... 
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-php.html#USING-APACHE
> 
> 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
directive).

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060925/fa79dd33/attachment.pgp


More information about the freebsd-ports mailing list