Date: Tue, 5 Oct 2004 15:13:24 -0400 From: Bill Moran <wmoran@potentialtech.com> To: l0rd@xs4all.nl Cc: freebsd-questions@freebsd.org Subject: Re: Why is data linked to data-dist Message-ID: <20041005151324.2f0b1d0f.wmoran@potentialtech.com> In-Reply-To: <24192.82.217.116.43.1097002525.squirrel@webmail.xs4all.nl> References: <24192.82.217.116.43.1097002525.squirrel@webmail.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
l0rd@xs4all.nl wrote: > At 20:47 5-10-2004, you wrote: > > LB <l0rd@xs4all.nl> wrote: > > > Greetings, > > > > I have a general question that I hope someone can help me with. I was > > wondering why the powers that be have chosen to link /usr/local/www/data > > to /usr/local/www/data-dist instead of just creating > > /usr/local/www/data-dist directly. Can anybody help me with the idea behind > > this ? > > Sorry about the double post. I resent wrong email. My bad.... > > But what I was supposed to post: > > Sounds like a good idea. So deleting the symlink and creating a real data > directory would mean I have to physically copy any new version of web apps > installed by ports if they're upgraded by portupgrade ? Not if they're well done ports. Most web apps, when installed from the ports, do not install in that data directory. Instead, they are installed in /usr/local/www/<webapp-name>, and the necessary configurations are put in place to make them accessible. (usually Apache-based symlinks ... I forget what the directive in Apache is called). Anyway, this protects the data you generate in the same way. -- Bill Moran Potential Technologies http://www.potentialtech.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041005151324.2f0b1d0f.wmoran>