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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 26 February 2007 13:05 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] 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 > > > > [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] > > > > > > > > --------------------------------------------------------------------- > 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]