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

Reply via email to