NameVirtualHost issue

Giganews Newsgroups
Subject: NameVirtualHost issue
Posted by:  Brian S. Paskin (bri…@paskino.com)
Date: Thu, 26 Aug 2010

Hi All,

I have a configuration problem and I cannot seem to get by it.  I have
1 NIC, so 1 IP address and 4 virtual hosts.  The issue is that it is
always going to the first virtual host entry and not the rest.  I am
sure it is something easy, but maybe I am too close to the issue:

NameVirtualHost 10.35.97.76:443
<VirtualHost 10.35.97.76:443>
  SSLEnable
  SSLServerCert cert1
  ServerName sit1.site1.com
</VirtualHost>
<VirtualHost 10.35.97.76:443>
  SSLEnable
  SSLServerCert cer2
  ServerName sit1.site2.com
</VirtualHost>
<VirtualHost 10.35.97.76:443>
  SSLEnable
  SSLServerCert cert3
  ServerName sit1.site3.com
</VirtualHost>
<VirtualHost 10.35.97.76:443>
  SSLEnable
  SSLServerCert cert4
  ServerName sit1.site4.com
</VirtualHost>

Anything I am missing?

Thanks, Brian

Replies