TCP/IP Addresses
By default, Apache will listen to all TCP/IP addresses on the machine. However, on multi-homed systems it is very easy to configure Apache to only listen to certain TCP/IP addresses.
The process of "adding" a TCP/IP address to Apache is relatively easy. Thus, you can quickly configure Apache to listen to several TCP/IP addresses or only one TCP/IP address, depending on your
needs.
The local.conf file is where you add/remove TCP/IP addresses. In that file, you add a "Listen" directive followed by the TCP/IP address you want to add. For example, if you want to make
sure only your internal users can access Apache, then you may want to configure Apache to listen to your machine's internal TCP/IP address:
The above example limits Apache to those requests that come in on 192.168.3.219. For more information on configuring Apache, please visit http://www.apache.org, the home of the
Apache http server project.
|