How to configure Apache to run on multiple network interfaces?
I have a Linux system that has two Ethernet ports, one GPRS modem interface and Wifi. How can I configure Apache to run on all or a subset of those interfaces? Wifi & GPRS modem IP addresses will prob. be dynamic, ethernet addresses fixed.
The Apache Listen directive handles that.
All interfaces:
Listen 80
Specific IP only:
Listen 192.0.2.1:80
By default apache will listen on all available interfaces
# cat /etc/httpd/conf/httpd.conf | grep ^Listen
Listen 80
So there is no need in any specific configuration at all