From owner-freebsd-questions Wed Oct 23 6: 1: 2 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 B074E37B401 for ; Wed, 23 Oct 2002 06:01:00 -0700 (PDT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF60E43EA9 for ; Wed, 23 Oct 2002 06:00:59 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 184L86-000GC9-0V; Wed, 23 Oct 2002 14:00:58 +0100 Message-ID: Date: Wed, 23 Oct 2002 14:00:32 +0100 To: Grant Cooper Cc: Richard Biffl , questions@freebsd.org From: Kevin Golding Subject: Re: phpMyAdmin directory (newbie question) References: <009501c279f9$a532c260$6b00a8c0@rb810e> <003e01c27a0c$7d023c90$fb69cecd@donatev49iknkl> In-Reply-To: <003e01c27a0c$7d023c90$fb69cecd@donatev49iknkl> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U 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 Someone, quite probably Grant Cooper, once wrote: >You should send this to 'users@httpd.apache.org' mailing list. You will get >a better answer. > >You can do one of two things. Copy the files structure, /phpMyAdmin to >/usr/local/www/data-dist or create a symbolic link. I would re-read the >instructions, it tells you what to do. The symbolic link may get you into >trouble for security reasons. The easiest way is probably to just install it from ports using the PREFIX variable: # make PREFIX=/usr/local/www/data-dist install clean That puts phpMyAdmin in /usr/local/www/data-dist right from the start. No copying, no linking, no hassle. >----- Original Message ----- >From: "Richard Biffl" >To: >> 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? >> >> I don't want to stray too far from the vanilla installation, but I must be >> missing a step here. You could also create aliases in /usr/local/etc/apache/httpd.conf like this: Alias /phpMyAdmin/ /usr/local/www/data.default/ That leaves all the ports installed in very much their default locations, you're just telling apache where to look. Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message