update on + ?: /etc/apache/httpd.conf + Re:/etc/hosts

Hi Fraser/Maddison, Thanks for your answers. I had had two ip entries in my /etc/hosts file on my local subnet machine. While resolveip worked fine, ping did not; the second/aliased address returned "Network unreachable". I then went with Fraser's suggestion, appended below, in which he suggests that aliases all be grouped together on the same /etc/hosts line. That worked, which allowed me to test multiple apache httpd virtual host addresses. I want to note this because the documentation at httpd.apache.org/docs-2.0/vhosts does not mention this at all. Does this make sense to linux, or have I crossed wires unwittingly? (vhosts + /etc/hosts) cheers, max. On Thu, 14 Aug 2003, Fraser Campbell wrote:
On Thursday 14 August 2003 14:00, Max Blanco wrote:
I wonder what will be the effect if I have two entries in the /etc/hosts file for the same machine?
192.168.1.9 johannes johaness.blanco.org 192.168.1.9 geeklog geeklog.net
Is this kosher?
If it works, it works but it would probably be more correct (according to my reading of the manpage) to do thsi:
192.168.1.9 johaness.blanco.org johannes geeklog geeklog.net
That is this:
IP CANONICAL_NAME ALIASES
Regards
-- The Toronto Linux Users Group. Meetings: http://tlug.ss.org TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
participants (1)
-
blanco-S8qYAnHmZTt34ZA5RureAJ4VBq8PJc8F@public.gmane.org