Right,

That warning is expected, as SSL name based virtual hosts do not work (the
wrong certificate will be served for one vhost, see FAQ:
http://www.modssl.org/docs/2.6/ssl_faq.html#ToC46).  But now you should at
least get the expected documents served.

-Dave

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Raymond
> Sent: Tuesday, August 15, 2000 7:27 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Vhosts behavior question (1 SSL, 1 non-SSL)
>
>
> i am having the same problem and i followed your suggestion but i am
> getting this error.
>
> [Wed Aug 16 10:10:35 2000] [warn] VirtualHost 203.177.26.5:443 overlaps
> with VirtualHost 203.177.26.5:443, the first has precedence, perhaps you
> need a NameVirtualHost directive
> /var/lib/apache/bin/apachectl startssl: httpd started
>
> my NameVirtualHost directive is:
>
> NameVirtualHost 203.177.26.5
>
> raymond
>
> >You're right, IP-based virtual hosts will eliminate your problem.
> >
> >For name based virtual hosts, what you really need to do is add
> another pair
> >of virtual hosts:
> >
> >NameVirtualHost 111.22.33.44
> >
> ><VirtualHost 111.22.33.44:80>
> >  ServerName name1.mydom.com
> >  DocumentRoot /home/webfoot/public_html
> ></VirtualHost>
> ><VirtualHost 111.22.33.44:80>
> >  ServerName namessl.mydom.com
> >  DocumentRoot /home/webfoot/secure_html
> ></VirtualHost>
> >
> ><VirtualHost 111.22.33.44:443>
> >  ServerName name1.mydom.com
> >  DocumentRoot /home/webfoot/public_html
> ></VirtualHost>
> ><VirtualHost 111.22.33.44:443>
> >  ServerName namessl.mydom.com
> >  DocumentRoot /home/webfoot/secure_html
> ></VirtualHost>
> >
> >Of course, the main problem with this is that only one SSL
> certificate will
> >be used between the ssl virtual hosts (the first one listed I
> think), so the
> >browser on the client will most likely pop up a certificate/servername
> >mismatch warning.
> >
> >Hope this helps more than my last post.  :-)
> >
> >-Dave
> >
> >______________________________________________________________________
> >Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> >User Support Mailing List                      [EMAIL PROTECTED]
> >Automated List Manager                            [EMAIL PROTECTED]
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to