This is a discussion on Are multiple <VirtualHost *:80 *:443> ok with wildcard cert ? - modssl ; Hi, (Apache 2.0.55, Linux 2.6) I can't find authoritative answer about the following question. I would like to be sure that I can have multiple VirtualHost configured simultaneously for HTTP and HTTPS (port 80 and port 443 respectively) as presented ...
(Apache 2.0.55, Linux 2.6)
I can't find authoritative answer about the following question.
I would like to be sure that I can have multiple VirtualHost
configured simultaneously for HTTP and HTTPS (port 80 and port 443
respectively) as presented below.
If I've a certificate with 'cn' to '*.example.com' and the following
Apache configuration, is that ok ? Currently it works fine, but I'm
not sure if I'm relying on some unspecified/undefined behaviors.
Also, is this dummy VirtualHost (the first one) the correct way to
"force" a given port to answer HTTP instead of HTTPS ? (I know that
it's the other way, where the "first" virtual host with enabled SSL
determine port with HTTPS.)
Again, there is no problems with this config, but I was just wondering
about its validity.
# Dummy empty VirtualHost to ensure than port 80 is HTTP
and common-ssl.conf contains:
[.. other SSL options ..]
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List firstname.lastname@example.org
Automated List Manager email@example.com