From owner-freebsd-questions Tue Oct 22 13:38:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0907237B401 for ; Tue, 22 Oct 2002 13:38:10 -0700 (PDT) Received: from viefep16-int.chello.at (viefep16-int.chello.at [213.46.255.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1E143E77 for ; Tue, 22 Oct 2002 13:38:08 -0700 (PDT) (envelope-from ant@overclockers.at) Received: from Deadcell.ant ([212.17.108.240]) by viefep16-int.chello.at (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20021022203806.ZSMZ2706.viefep16-int.chello.at@Deadcell.ant>; Tue, 22 Oct 2002 22:38:06 +0200 Received: from Deadcell.ant (localhost [127.0.0.1]) by Deadcell.ant (8.12.6/8.12.6) with ESMTP id g9MKc6M5022270; Tue, 22 Oct 2002 22:38:06 +0200 (CEST) (envelope-from ant@Deadcell.ant) Received: (from ant@localhost) by Deadcell.ant (8.12.6/8.12.6/Submit) id g9MKc01X022269; Tue, 22 Oct 2002 22:38:00 +0200 (CEST) Date: Tue, 22 Oct 2002 22:38:00 +0200 From: Andreas Ntaflos To: Richard Biffl Cc: freebsd-questions@freebsd.org Subject: Re: phpMyAdmin directory (newbie question) Message-ID: <20021022203800.GA22229@Deadcell.ant> References: <009501c279f9$a532c260$6b00a8c0@rb810e> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009501c279f9$a532c260$6b00a8c0@rb810e> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 22, 2002 at 02:34:23PM -0400, Richard Biffl wrote: > I'm setting up a FreeBSD server for the first time. When I installed Apache, > it created a /usr/local/www/data-dist directory, with www/data as an alias > (symlink?). I then installed PHP, then phpMyAdmin, and it installed in > /usr/local/www/data.default/phpMyAdmin. > > I understand that the phpMyAdmin directory should be below www/data. Should > I change www/data so it points to www/data.default instead of www/data-dist, > or break the link from www/data to www/data-dist and/or copy > www/data.default/phpMyAdmin into www/data? What I did was just copy phpMyAdmin into /usr/local/www/data. I don't think that breaks anything, and I don't see much benefit in messing with lots and lots of symlinks just to keep data, data-dist, data-dist.default and data.default...just my POV. > I don't want to stray too far from the vanilla installation, but I must be > missing a step here. You could also unlink data from data-dist and make data its own directory, keeping everything apache installed in data-dist. Thus you do not break any scripts that rely on www/data and you can keep the installation as clear as possible. Or you could change the DocumentRoot variable to something completely different, I think it is just a matter of personal preference (and lazyness :)). HTH regards -- Andreas "ant" Ntaflos ant@overclockers.at Vienna, AUSTRIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message