The *:443 vhost shouldn't be a NameVirtualHost, because the SSL handshake doesn't include ServerName information.

Check this list's archive for this issue.

Take care

[EMAIL PROTECTED] wrote:
Dear All,

For the Virtual Host config of http and https ( apache 2.2.x ) :

NameVirtualHost *:80
NameVirtualHost *:443

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

<VirtualHost *:443>
...
ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain
...
</VirtualHost>

Is these right ?

Edward.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to