Re: http and http3 config ( Virtual Host ) problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

edwardspl@xxxxxxxxxx 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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux