httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Pasher <just...@newmediagateway.com>
Subject Re: [users@httpd] Questions about implementing SSL/VirtualHosts
Date Mon, 14 Dec 2009 15:12:02 GMT
Serge Fonville wrote:
> Hi,
>
>   
>>> My company is wanting to keep this configuration for port 80 and add an
>>> SSL certificate for just the www.example.com and example.com hostnames. Is
>>> it possible to have Virtualhosts for just the 443 port and still allow
>>> *.example.com to react the same way it does now?
>>>       
>> Yes, it is. However, you'll generally need separate IP addresses for
>> www.example.com and example.com. Then just define the virtual hosts
>>
>> <VirtualHost 12.34.56.78:443>
>> </VirtualHost>
>> <VirtualHost 12.34.56.79:443>
>> </VirtualHost>
>>     
>
> Not neccesarily,
>
> You can use virtualdocumentroot instead of virtualhosts.
> Almost all config in virtualhosts directives can also be done in
> htaccess, which you can even put one level higher.
>   

I believe he recommended multiple VirtualHost containers because the OP 
was asking about essentially two SSL sites (www.example.com and 
example.com), which requires individual IP address to get universal 
browser support (i.e. without SNI). Even with a wildcard cert for 
*.example.com, I don't believe that will work to example.com.


-- 
Justin Pasher

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


Mime
View raw message