Date: Thu, 30 Jun 2005 10:00:25 -0400 From: Nicholas Henry <nicholas.henry@gmail.com> To: Alex Zbyslaw <xfb52@dial.pipex.com> Cc: freebsd-questions@freebsd.org Subject: Re: Installing Apache 2 with custom options Message-ID: <ee11ef4a0506300700787d2f8@mail.gmail.com> In-Reply-To: <42B70245.6030108@dial.pipex.com> References: <ee11ef4a05061916025e0d120@mail.gmail.com> <ee11ef4a05062010292cad8e14@mail.gmail.com> <42B70245.6030108@dial.pipex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <xfb52@dial.pipex.com> 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"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee11ef4a0506300700787d2f8>
