Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 14:00:32 +0100
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        Grant Cooper <grant.cooper@nucleus.com>
Cc:        Richard Biffl <biffl@tidalwave.net>, questions@freebsd.org
Subject:   Re: phpMyAdmin directory (newbie question)
Message-ID:  <E1B1%2BJCw1pt9EwXG@caomhin.demon.co.uk>
In-Reply-To: <003e01c27a0c$7d023c90$fb69cecd@donatev49iknkl>
References:  <009501c279f9$a532c260$6b00a8c0@rb810e> <003e01c27a0c$7d023c90$fb69cecd@donatev49iknkl>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <biffl@tidalwave.net>
>To: <questions@freebsd.org>

>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1B1%2BJCw1pt9EwXG>