This will work. But NameVirtualHost directive is useless as it will not work as expected. Just remove NameVirtualHost *:443 Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -----Original Message----- > From: edwardspl@xxxxxxxxxx [mailto:edwardspl@xxxxxxxxxx] > Sent: 26 February 2007 13:05 > To: users@xxxxxxxxxxxxxxxx > Subject: Re: http and http3 config ( Virtual > Host ) problem > > Hello, > > So... would you mind to give me a sample for both of config ? > > Edward. > > Bruno Teixeira wrote: > > > 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 > > > > > > > > --------------------------------------------------------------------- > 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