On Mon, Aug 29, 2011 at 05:01:13PM +0100, Always Learning wrote:
Just wondering how to run 2 versions of Apache on the same server, listening on different IPs and both on port 80.
Does one give them, the httpd, different names and effectively duplicate most of the Apache set-up ?
I use Apache;s virtual hosts facility for normal purposes but this is for a different project.
Thank you.
Paul.
First, this sounds like a messy way to do it... spinning up another OS instance with the appropriate version of Apache you are after sounds cleaner...
However...
As long as you keep your various Apache installs from stepping on each other (where the binaries, logs, configs live, etc), you just need to make sure they're binding to mutually exclusive IP/port pairs. The "Listen" directive is likely what you're after here.
Ray