Can http and https of the same domain name point to different directories of the same apache server?
滿天的星座
滿天的星座 2017-05-16 17:01:34
0
1
596

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

滿天的星座
滿天的星座

reply all(1)
阿神

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!