From owner-freebsd-questions@FreeBSD.ORG Thu Jun 30 14:00:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 34E3716A41C for ; Thu, 30 Jun 2005 14:00:26 +0000 (GMT) (envelope-from nicholas.henry@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB3CB43D1D for ; Thu, 30 Jun 2005 14:00:25 +0000 (GMT) (envelope-from nicholas.henry@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so61704nzd for ; Thu, 30 Jun 2005 07:00:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cc9d30olINyj8qCRMGga6N2toTKQkgWLpEAu9hpM5bzTh+IU7BcZSSZmN4yHX/mft/BER8PNpc01ilWf/3sBxsA31BBk1KHadYXxp+MpUdmUwhV3Kce/JJcIjYubW2x8xkLMpRXUHCcMM1pdMephlwCpssOj7O/ab4/cTvrCWNQ= Received: by 10.36.221.60 with SMTP id t60mr212673nzg; Thu, 30 Jun 2005 07:00:25 -0700 (PDT) Received: by 10.36.81.9 with HTTP; Thu, 30 Jun 2005 07:00:25 -0700 (PDT) Message-ID: Date: Thu, 30 Jun 2005 10:00:25 -0400 From: Nicholas Henry To: Alex Zbyslaw In-Reply-To: <42B70245.6030108@dial.pipex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42B70245.6030108@dial.pipex.com> Cc: freebsd-questions@freebsd.org Subject: Re: Installing Apache 2 with custom options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nicholas Henry List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 14:00:26 -0000 Thank you for your reply. I guess I was under the assumption that the Apache port would come "pre-configured" with some options. So I didn't want to do a "configure" and overwrite what is there. So can you confirm that it isn't pre-configured anyway? Are any of the ports have configurations set? Cheers, Nicholas On 6/20/05, Alex Zbyslaw wrote: > Nicholas Henry wrote: >=20 > >FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004 > > > >I have apache2 running which I installed from ports. All is running > >well. I would like to install the proxy module. As I'm relatively new > >to FreeBSD and Unix I'm not sure which is the best way to go. Is there > >a way to change the config options before doing a make. How do I do > >this so I add to the existing config options with out "overwriting > >them". Can you do this with ports? > > > > > I'm not quite sure what you are asking. >=20 > If you are asking "how do I get make to remember the configuration > options I used last time" then the easiest answer is to use > sysutils/portupgrade and put your options into > /usr/local/etc/pkgtools.conf (which is pretty self documenting when you > edit it). Some ports now put the options you used in > /var/db/ports/{portname}/options, but apache2 doesn't seem to be one of > them yet. So if you didn't make a not of what you picked, you'll have > to work them out all over again :-( >=20 > If you are asking how to re-install apache2 without overwriting changes > you made to httpd.conf, then the safest way is to make backup copies > before deleting the package and reinstalling. (Easy with portugrgade -f > option). Actually, I think the port is clever about this and won't > remove the config file if you have changed it, but I'd make backups anywa= y. >=20 > Personally, when installing a complex port like apache2, I always try to > be generous about what modules etc I compile, and try to include stuff I > *might* need even if I have no use for it yet. Only experimental stuff > gets left out. Saves a lot of grief when you suddenly find a use for > proxying :-) Disk space is nearly always cheaper than time. >=20 > --Alex >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >