2 apache servers via apt-get?
I have the mod_perl-enabled backend server (2.0.55) up and running using apt-get, and could do a manual compile & install of apache 2.2 from source, but would like to use apt-get to install & configure it.
Is it possible to install v2.2 using aptitude, and without over-writing my existing installation?
4 Replies
cp -a /etc/apache2 /etc/apache2-secondary
Set up the configuration in the apache2-secondary directory, then fire off something like:
httpd -f /etc/apache2-secondary/apache2.conf -k start
And thanks Xan, that looks like an easy one to try for starters.
OTOH, just running two instances of apache with different config files might be more convenient. The advantage (to my experience) of lighttpd is less memory use.