<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mike -- EMAIL IGNORED wrote:
<blockquote cite="mid:gclomi$p0s$1@ger.gmane.org" type="cite">
  <pre wrap="">On Thu, 09 Oct 2008 21:43:24 +0200, Kai Schaetzl wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Mike -- EMAIL IGNORED wrote on Thu, 9 Oct 2008 19:28:39 +0000 (UTC):

    </pre>
    <blockquote type="cite">
      <pre wrap="">In other words, ServerName alone fails to distinguish two named virtual
hosts.
      </pre>
    </blockquote>
    <pre wrap="">Oh, it sure does. If it is present in both - which it isn't in your
config.



Kai
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Yes, a retest confirms your observation.  I am therefore
left with the need to remove the VirtualHost that
has no ServerName.  I can access the site with an
IP address, which, I think, this is meant to prevent.

Mike.

_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
  </pre>
</blockquote>
You need to remove the :80 in the VirtualHost declarations that
contains Servername entries.<br>
<br>
I have several Domain and Sub-Domain host names running against one IP
using the VirtualHost pratice.<br>
My most recent server is running on CentOS 5.2.<br>
<br>
<br>
</body>
</html>