This question already has an answer here:
- Understand ssl setup 1 answer
I have the following in my httpd.conf file
NameVirtualHost *:80 <IfModule mod_vhost_alias.c> <VirtualHost *:80> ServerAlias * UseCanonicalName Off LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon CustomLog /var/log/httpd/access_log vcommon VirtualDocumentRoot /web-data/vhosts/%0/httpdocs VirtualScriptAlias /web-data/vhosts/%0/httpdocs </VirtualHost> </IfModule>
This works great for dynamic hosting. However, I can't figure out how to make https requests work the same way. What do I need to add to this so that https and http for the same domain request get sent to the same folder?