Multiple Apaches

Josh Paetzel josh at tcbug.org
Tue May 17 16:23:18 PDT 2005


On Tuesday 17 May 2005 18:00, David Marshall wrote:
> Hi all,
>
> My boss has finally seen the light, and we're migrating from a
> cobbled-together Linux box to FreeBSD very soon.  In the four
> months I've been working for him, I have spent more time fiddling
> with our Linux servers than I spent in 4 years running FreeBSD on a
> number of servers.
>
> On one of my old FreeBSD servers, I wanted a regular Apache
> installation, so I had /usr/ports/www/apache13 installed.  At the
> same time, I maintained a specially-configured Apache installation
> in /usr/local2 that was, among other things, statically linked with
> mod_perl.
>
> On the new box that we're putting together soon, we'll need to have
> apache2 going, so that's obviously something to install/maintain
> via ports.  At the same time, we're going to need a couple of
> statically linked apache13 installations.
>
> Should I plan on repeating the what I did before, which is to
> maintain an apache installation separate from ports?  Or is there
> some clever way to have ports install stuff in different places
> under different names?  For instance, I'd like to have www/apache2
> installed in the default location and install www/apache13-modperl
> with some PREFIX, telling it to disregard any CONFLICTS?  Can I
> give a ports installation a different DISTNAME so that it's in the
> package database under some other name?
>
> TIA!

This may be wrong or even mis-guided advice but the first thing that 
came to my mind was perhaps running one (or both I suppose) apache in 
a jail.

-- 
Thanks,

Josh Paetzel


More information about the freebsd-questions mailing list