Peter Van Lone wrote:
I've created an IP alias (ie, a second IPAddress bound to the primary nic) on a SLES10 sp2 installation. I have used the YAST HTTP server module to configure the primary site, and now want to tell apache to listen on this new ipadress. However, when I go into "server resolution"/virtual Host/change virtual host ID -- the only IP addresses available to me are the primary physical IP and local host.
How can I get apache to bind/use the secondary IP address?
Peter
Peter, There are two different types of virtual hosting: (1) Name based virtual hosts; and (2) IP based virtual hosts. You want to do IP based virtual hosts. The manual has good examples for setting up both. Both involve configuring the "virtual hosts" in a local config file. I use /etc/apache2/httpd.conf.local for the primary host definition. The only thing I use /etc/apache2/vhosts.d for is to define the vhosts-ssl.conf information for the server. http://httpd.apache.org/docs/2.2/vhosts/ Will get you started. I use name based hosting. Otherwise, I'd post a config that would help. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org