Hello,

Thank you all for reading and helping!

*** Yes, I know NBVH can't each have SSL access, thanks! ;-) ***

But, for now, my config permit to type

https://vhost2.domain.tld/

and see the content of www.domain.tld, which is the default SSL host.

Using apache 1.3.33, mod_ssl 2.8.22

The conf:

Listen 80
Listen 443
Port 443
ServerName www.domaine.tld
DocumentRoot /var/www/secure
SSLEngine off
...
NameVirtualHost *:80

<VirtualHost _default_:443>
ServerName www.domain.tld
DocumentRoot /var/www/secure
SSLEngine on
</VirtualHost>

<VirtualHost *:80>
ServerName vhost1.domain.tld
DocumentRoot /var/www/vhost1
</VirtualHost>

<VirtualHost *:80>
ServerName vhost2.domain.tld
DocumentRoot /var/www/vhost2
</VirtualHost>

--
Didier Belot
Découvrez Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=5591&t=82>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager [EMAIL PROTECTED]

Reply via email to