Re: (c 5.6) Running 2 versions of Apache ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux