Mixing HTTPS and HTTP Virtual Hosts in Apache

Gordon Messmer yinyang at eburg.com
Mon Jun 5 20:13:49 UTC 2006


Matthew Benjamin wrote:
> Does anyone have experience in Apache creating a SSL site along with a 
> normal http website via NameVirtualHost. I am trying but it only gives 
> the default_virtual_host for the SSL site.

You can't really do NameVirtualHost on https.  Apache can only do one 
certificate for https, since SSL negotiation happens before the browser 
tells the server what hostname it wants.

You'll need to do traditional virtual hosts for https.




More information about the fedora-list mailing list