Installation directory best practices

Frank Laszlo laszlof at vonostingroup.com
Thu Jul 13 10:35:28 UTC 2006


Babak Farrokhi wrote:
> Hi,
>
> I wonder if there is any particular guideline for installation of web based
> application (the ports which install web pages, like www/wordpress,
> www/serendipity or databases/phpmyadmin).
>
> Some ports install web pages into "www/${PORTNAME}" while others install
> into "www/data-dist/${PORTNAME}" or even into "share/${PORTNAME}".
> However most of these ports let you override the installation path by
> defining particular variables, but user should review Makefile before
> installation to find out which variable should be set.
>   

I believe that installing into www/data-dist/${PORTNAME} is a security 
risk, installing unconfigured applications into a web readable directory 
is bad.

-Frank


More information about the freebsd-ports mailing list