Luckily, I do have one additional IP.

Thanks to everyone for the information!

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Owen Boyle
> Sent: Wednesday, May 23, 2001 11:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: IP-based vhost problems
> 
> 
> christopher hamilton wrote:
> > 
> > I'm sure this is documented somewhere, but I am unable to find 
> it. I have
> > two IP-based vhosts, 
> 
> No you don't - in your example, both hosts have the same (dummy) IP
> address. This is name-based virtual hosting and doesn't work with SSL.
> 
> TFM, which you should R, can be found at:
> 
> http://www.modssl.org/docs/2.8/ssl_faq.html#ToC47
> http://marc.theaimsgroup.com/?l=apache-modssl&m=98559369910170&w=2
> 
> If you can give them different IP addresses, it should work (remember
> Listen...).
> 
> Rgds,
> Owen Boyle.
> 
> > This is an example of the two vhost defs I'm using:
> > 
> > <IfDefine HAVE_SSL>
> > <VirtualHost 1.2.3.4:443>
> > 
> >     ServerAdmin     [EMAIL PROTECTED]
> >     ServerName      www.vhost.com
> >     ServerAlias     www.vhost.com
> > 
> >     DocumentRoot    /var/www/html/vhost
> > 
> >     SSLEngine on
> >     SSLCertificateFile      /etc/httpd/conf/ssl.crt/www.vhost.com.crt
> >     SSLCertificateKeyFile   /etc/httpd/conf/ssl.key/www.vhost.com.key
> > 
> > </VirtualHost>
> > 
> > <VirtualHost 1.2.3.4:443>
> > 
> >     ServerAdmin     [EMAIL PROTECTED]
> >     ServerName      www-two.vhost.com
> >     ServerAlias     www-two.vhost.com
> > 
> >     DocumentRoot    /var/www/html/vhost-two
> > 
> >     SSLEngine on
> >     SSLCertificateFile      
> /etc/httpd/conf/ssl.crt/www-two.vhost.com.crt
> >     SSLCertificateKeyFile   
> /etc/httpd/conf/ssl.key/www-two.vhost.com.key
> > 
> > </VirtualHost>
> > </IfDefine>
> > 
> > I don't mind RTFM, but in this case, I could not find the FM.
> > 
> > Thanks,
> > Chris
> > 
> > ______________________________________________________________________
> > 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