Can http and https of the same domain name point to different directories of the same apache server?
For example, port 80 points to /var/www/site-http and port 443 points to /var/www/site-https
阿神2017-05-16 17:03:34
Yes, although the domain name is the same, but https and http, when configuring the virtual host, we need to configure them separately. So they can be understood as different domains with the same domain name. http can point to one directory and https points to another directory.