Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2018 13:24:10 -0600
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        freebsd-questions@freebsd.org
Cc:        Mario Lobo <lobo@bsd.com.br>
Subject:   Re: Apache 2.4
Message-ID:  <F04D976794C9E929B1C0B2CC@Pauls-MacBook-Pro.local>
In-Reply-To: <CA%2ByoEx_=G9nyo%2BGnHi4QcfXZ2E79PUg97aoK%2BmwCOsY=7JTGfg@mail.gmail.com>
References:  <0ff8c58ea6d2aa3454f1a4661e79ecd7.squirrel@webmail.harte-lyne.ca> <CA%2ByoEx_=G9nyo%2BGnHi4QcfXZ2E79PUg97aoK%2BmwCOsY=7JTGfg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On February 9, 2018 at 2:16:06 PM -0300 Mario Lobo <lobo@bsd.com.br> 
wrote:
>
> I'm not sure about this but I believe that for apache to run on different
> IPs you have to have different instances of it.
>
This is untrue. Apache can listen on multiple IPs from one running instance.

Here's the Listen portion of an instance I manage:

Listen 162.250.226.170:80
Listen 162.250.226.170:443
Listen 162.250.226.172:80
Listen 162.250.226.172:443
Listen 162.250.226.173:80
Listen 162.250.226.174:443

> You can change a virtualhost port but not the Ip on which the instance of
> apache is running.

Not true. Apache listens on whatever you tell it to listen on. Port or IP.

Paul Schmehl, Retired
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F04D976794C9E929B1C0B2CC>