From owner-freebsd-questions Tue Mar 4 14: 7: 8 2003 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 0D72337B405 for ; Tue, 4 Mar 2003 14:07:07 -0800 (PST) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA01043F85 for ; Tue, 4 Mar 2003 14:07:05 -0800 (PST) (envelope-from nospam@hiltonbsd.com) Received: from [209.100.171.103] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 18qKYv-0005gG-00; Tue, 04 Mar 2003 16:07:01 -0600 Date: Tue, 4 Mar 2003 16:07:07 -0600 From: Stephen Hilton To: John McClure Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Multiple Versions of Same Port Message-Id: <20030304160707.2a1aa2a2.nospam@hiltonbsd.com> In-Reply-To: <20030304202953.8137.qmail@web41413.mail.yahoo.com> References: <20030304202953.8137.qmail@web41413.mail.yahoo.com> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 4 Mar 2003 12:29:53 -0800 (PST) John McClure wrote: > Thanks in advance for any help. I'm new to FreeBSD. > > I want to maintain multiple copies of the apache > server, one running PHP, another running mod_perl, > perhaps another configured differently ... > > If I use the ports system, how do I go about this? I > can use a different PREFIX for each different > installation, but will the ports system overwrite the > information each time under /var/db/pkg? If so, I'm > thinking this would break the pkg_delete functionality > at least. > > I thought I might just cp the apache13 port, call if > something different, say apache13-2, and then do a > "make PREFIX=/usr/local/apache_whatever install". But > should I use the ports system for this? Under linux > I'd just do different compiles, which I could do here, > but I like the ease-of-upgrading provided by ports so > I'd like to use that if I could, as well as just gain > the general insight. John, Going at this from a different angle, if Apache was the one port you wanted to do this with, you could possibly accomplish this by having different httpd.conf files for your different Apache setups. Then by hacking the apachectl/httpd -f argument you could specify which configuration you wanted to start up. Regards, Stephen Hilton nospam@hiltonbsd.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message