On 10/29/22 00:40, Michael D. Setzer II via users wrote:
Was trying to get the apache to run on two interfaces, and thought it was work on both, but checked and it wasn't running on either?
</snip>
So questions: Can apache work with 2 different IPs or can it only listen to one? Is doing it with two Listen lines wrong, is syntax wrong.
</snip>
From the apache-2.4 docs:
The Listen directive tells the server to accept incoming requests only on the specified port(s) or address-and-port combinations. If only a port number is specified in the Listen directive, the server listens to the given port on all interfaces. If an IP address is given as well as a port, the server will listen on the given port and interface. Multiple Listen directives may be used to specify a number of addresses and ports to listen on. The server will respond to requests from any of the listed addresses and ports.
Mike Wright