prevent https access to NBVH ?

didier Belot <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
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                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.